Skip to content

[FEAT] Configure Data Indexer for Restaking on Tangle #2

[FEAT] Configure Data Indexer for Restaking on Tangle

[FEAT] Configure Data Indexer for Restaking on Tangle #2

Workflow file for this run

name: PR
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
jobs:
pr:
name: pr
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: 18
- run: yarn install
- name: Copy the environment variable to `.env` file
run: cp packages/tangle-subql/.env.example packages/tangle-subql/.env
- name: Build
run: yarn build
- name: Install subql-node
run: yarn global add @subql/node
# TODO: Add test for the project
# - name: Run tests with Subquery Node
# run: subql-node test -f ${{ github.workspace }}