Fix subql commands: use correct CLI syntax for codegen and build

This commit is contained in:
2026-02-13 01:46:08 +03:00
parent 618cea47c6
commit 15eeb16cd4
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -26,10 +26,10 @@ jobs:
run: yarn install --immutable
- name: Generate types
run: yarn codegen -f pezkuwi.yaml
run: ./node_modules/.bin/subql codegen pezkuwi.yaml
- name: Build
run: yarn build -f pezkuwi.yaml
run: ./node_modules/.bin/subql build -f pezkuwi.yaml
- name: Validate Pezkuwi Relay
run: ./node_modules/.bin/subql validate -f pezkuwi.yaml
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
run: yarn install --immutable
- name: Generate types
run: yarn codegen -f pezkuwi.yaml
run: ./node_modules/.bin/subql codegen pezkuwi.yaml
- name: TypeScript check
run: yarn tsc --noEmit
+4 -4
View File
@@ -39,10 +39,10 @@ jobs:
run: yarn install --immutable
- name: Generate types
run: yarn codegen -f pezkuwi.yaml
run: ./node_modules/.bin/subql codegen pezkuwi.yaml
- name: Build
run: yarn build -f pezkuwi.yaml
run: ./node_modules/.bin/subql build -f pezkuwi.yaml
- name: Publish Pezkuwi Relay
run: ./node_modules/.bin/subql publish -f pezkuwi.yaml
@@ -67,10 +67,10 @@ jobs:
run: yarn install --immutable
- name: Generate types
run: yarn codegen -f pezkuwi.yaml
run: ./node_modules/.bin/subql codegen pezkuwi.yaml
- name: Build
run: yarn build -f pezkuwi.yaml
run: ./node_modules/.bin/subql build -f pezkuwi.yaml
- name: Publish Pezkuwi Asset Hub
run: ./node_modules/.bin/subql publish -f pezkuwi-assethub.yaml
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
run: yarn install --immutable
- name: Build
run: yarn build -f pezkuwi.yaml
run: ./node_modules/.bin/subql build -f pezkuwi.yaml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3