1.11.2 #826
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 | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
CI: | |
name: Lint, Build, and Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [16] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install | |
run: npm ci | |
- name: Codegen | |
run: npm run graphql:codegen | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
- name: Test | |
env: | |
EVM_RPC_URL: ${{ secrets.EVM_RPC_URL }} | |
run: npm run test |