From 825a52cc4dfb936f4652d33aee359503387f449d Mon Sep 17 00:00:00 2001 From: cedoor Date: Mon, 25 Mar 2024 19:11:12 +0000 Subject: [PATCH] chore: build libraries before generating subgraph files Former-commit-id: d55810d169bb8fbf25e8909f520ca0f840f3d19f --- .github/workflows/production.yml | 3 +++ apps/subgraph/package.json | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 89183cfa..338d8606 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -54,6 +54,9 @@ jobs: - name: Install dependencies run: yarn + - name: Build libraries + run: yarn build:libraries + - name: Build subgraph run: yarn build:subgraph diff --git a/apps/subgraph/package.json b/apps/subgraph/package.json index 6b2e39e6..a1b3c247 100644 --- a/apps/subgraph/package.json +++ b/apps/subgraph/package.json @@ -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",