Merge pull request #7 from edgeandnode/tmigone/more-subgraph #60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| subgraph: | |
| name: Subgraph | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| - name: Codegen | |
| run: pnpm --filter @graphprotocol/graph-horizon-subgraph codegen | |
| - name: Build | |
| run: pnpm --filter @graphprotocol/graph-horizon-subgraph build | |
| validation: | |
| name: Validation | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| uses: ./.github/actions/setup | |
| - name: Type check | |
| run: pnpm --filter @graphprotocol/graph-horizon-validation exec tsc --noEmit |