Merge pull request #1074 from graphprotocol/tmigone/trust-fixes-subgr… #267
This file contains 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: CI - packages/subgraph-service | |
env: | |
CI: true | |
on: | |
push: | |
branches: "*" | |
paths: | |
- packages/subgraph-service/** | |
pull_request: | |
branches: "*" | |
paths: | |
- packages/subgraph-service/** | |
workflow_dispatch: | |
jobs: | |
test-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Build | |
run: | | |
pushd packages/subgraph-service | |
yarn build | |
- name: Run tests | |
run: | | |
pushd packages/subgraph-service | |
yarn test |