Skip to content

Commit

Permalink
fix test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kovart committed Feb 12, 2024
1 parent 13ef0f5 commit 437fb81
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .github/actions/testSubgraph/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ runs:
with:
node-version: "16"

- name: Install Git
shell: bash
run: |
apt-get update
apt-get install -y git
- name: Install subgraph dependencies
working-directory: ./subgraph
shell: bash
run: npm install
run: yarn install

- name: Run test
working-directory: ./subgraph
shell: bash
run: npm run test
run: yarn run test
3 changes: 1 addition & 2 deletions subgraph/.gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
generated
old_subgraph
node_modules
schema.graphql
.bin
tests/.bin

.idea
.vscode
.vscode
2 changes: 1 addition & 1 deletion subgraph/subgraph.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
specVersion: 0.0.5
schema:
file: ./schema.graphql
file: ./src/schema.graphql
dataSources:
- kind: ethereum
name: ScannerRegistry
Expand Down

0 comments on commit 437fb81

Please sign in to comment.