Fixes #4
Workflow file for this run
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: PR | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/workflows/**' | |
jobs: | |
pr: | |
name: pr | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- run: yarn | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- name: Install subql-node-cosmos | |
run: yarn global add @subql/node-cosmos | |
- name: Run tests with Subquery Node | |
run: subql-node-cosmos test -f ${{ github.workspace }} |