chore: build libraries before generating subgraph files

This commit is contained in:
cedoor
2024-03-25 19:11:12 +00:00
parent ce2ef1e87d
commit d55810d169
2 changed files with 4 additions and 2 deletions

View File

@@ -54,6 +54,9 @@ jobs:
- name: Install dependencies
run: yarn
- name: Build libraries
run: yarn build:libraries
- name: Build subgraph
run: yarn build:subgraph

View File

@@ -6,8 +6,7 @@
"private": true,
"scripts": {
"codegen": "node scripts/generate-subgraph.js ${0} && graph codegen",
"pre-build": "yarn workspace @semaphore-protocol/utils build",
"build": "yarn pre-build && graph build",
"build": "graph build",
"auth": "graph auth --studio",
"deploy": "graph deploy --node https://api.studio.thegraph.com/deploy/ ${0}",
"start-ipfs": "node scripts/start-ipfs.js",