[FEAT] Configure Data Indexer for LST on Tangle #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |