Fix TokenAmoun id clash #240
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 check | |
on: [pull_request] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install modules | |
run: yarn | |
- name: Run prettier check | |
run: yarn run prettier "./**/*.{js,json,ts}" --check | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install modules | |
run: yarn | |
- name: Generate default config file | |
run: yarn generate-config:local | |
- name: Build subgraph schema classes | |
run: yarn codegen | |
- name: Run unit tests | |
run: yarn test |