Skip to content

Migrate from asdf to mise #80

Migrate from asdf to mise

Migrate from asdf to mise #80

name: 'build::subgraph'
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
id-token: write
contents: read
jobs:
build:
strategy:
max-parallel: 4
matrix:
manifest: [subgraph.testnet_fast.yaml, subgraph.testnet.yaml,subgraph.devnet_fast.yaml, subgraph.devnet.yaml, subgraph.goerli_fast.yaml, subgraph.goerli.yaml, subgraph.mainnet_fast.yaml, subgraph.mainnet.yaml]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: sigstore/cosign-installer@v3
- uses: slsa-framework/slsa-verifier/actions/[email protected]
- name: mise:install
uses: Wandalen/[email protected]
with:
action: jdx/mise-action@v2
- name: 'yarn:init'
run: yarn
- name: "graph:codegen for ${{matrix.manifest}}"
run: $(yarn bin)/graph codegen ${{matrix.manifest}}
- name: "graph:build for ${{matrix.manifest}}"
run: $(yarn bin)/graph build ${{matrix.manifest}}