mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-22 01:57:58 +00:00
Fix subql commands: use correct CLI syntax for codegen and build
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user