ON-457: fix review comments #10
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: Build | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build_test_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: 16 | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@oriumnetwork' | |
- name: Install Dependencies | |
run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }} | |
- name: Code Generator | |
run: npm run codegen:goerli | |
- name: Build | |
run: npm run build:goerli | |
- name: Test | |
run: npm run test | |
- name: Subgraph Auth | |
run: yarn graph:auth -- ${{ secrets.THEGRAPH_API_KEY }} | |
- name: Subgraph Deploy | |
run: npm run deploy:goerli |