Skip to content

Commit c3ea6fa

Browse files
committed
feat: add code generation step to subgraph deployment workflows
1 parent e308f0f commit c3ea6fa

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/deploy-subgraph-chainX.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ jobs:
3737
working-directory: packages/subgraph
3838
run: npm ci
3939

40+
- name: Codegen
41+
working-directory: packages/subgraph
42+
run: npm run codegen
43+
4044
- name: Deploy Subgraph
4145
working-directory: packages/subgraph
4246
env:

.github/workflows/subgraph-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
working-directory: packages/subgraph
4141
run: npm run check-format
4242

43+
- name: Codegen
44+
working-directory: packages/subgraph
45+
run: npm run codegen
46+
4347
# TODO: fix test command
4448
# - name: Run unit tests
4549
# working-directory: packages/subgraph

0 commit comments

Comments
 (0)