Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

fix(end): last subgraph deployment adds better precision #302

fix(end): last subgraph deployment adds better precision

fix(end): last subgraph deployment adds better precision #302

Workflow file for this run

name: subgraph-test-and-deploy
on:
push:
branches:
- main
pull_request:
paths:
- "subgraph/**"
- ".github/workflows/ci-subgraph.yml"
defaults:
run:
working-directory: ./subgraph
concurrency:
group: ci-subgraph-${{ github.ref }}
cancel-in-progress: true
jobs:
compilation:
name: Codegen & Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Node dependencies cache
uses: actions/cache@v3
with:
path: "subgraph/node_modules"
key: yarn-${{ hashFiles('subgraph/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run codegen
run: yarn codegen
- name: Compile subgraph
run: yarn build