diff --git a/.github/actions/testSubgraph/action.yml b/.github/actions/testSubgraph/action.yml index 2d174c95..e3161463 100644 --- a/.github/actions/testSubgraph/action.yml +++ b/.github/actions/testSubgraph/action.yml @@ -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 diff --git a/subgraph/.gitignore b/subgraph/.gitignore index 9378c031..b939a292 100644 --- a/subgraph/.gitignore +++ b/subgraph/.gitignore @@ -1,9 +1,8 @@ generated old_subgraph node_modules -schema.graphql .bin tests/.bin .idea -.vscode \ No newline at end of file +.vscode diff --git a/subgraph/subgraph.yaml b/subgraph/subgraph.yaml index 8e139c16..81dd6f39 100644 --- a/subgraph/subgraph.yaml +++ b/subgraph/subgraph.yaml @@ -1,6 +1,6 @@ specVersion: 0.0.5 schema: - file: ./schema.graphql + file: ./src/schema.graphql dataSources: - kind: ethereum name: ScannerRegistry