Skip to content

Merge pull request #14 from sygmaprotocol/mj52951/add-substrate-indexing #72

Merge pull request #14 from sygmaprotocol/mj52951/add-substrate-indexing

Merge pull request #14 from sygmaprotocol/mj52951/add-substrate-indexing #72

Workflow file for this run

name: 'Lint, Build, and Test'
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
fail-fast: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'yarn' # cache node modules
node-version: ${{ matrix.node }}
- run: corepack enable
- run: yarn
- run: yarn run lint
- name: Check license
run: yarn run license-check
- run: yarn run build
- name: Run tests
run: yarn run test:unit