Skip to content

Merge pull request #38 from sven-hash/master #121

Merge pull request #38 from sven-hash/master

Merge pull request #38 from sven-hash/master #121

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run lint
- run: npm audit --production
- run: npm test --if-present
env:
MAINNET_URL: ${{ vars.MAINNET_URL }}
TESTNET_URL: ${{ vars.TESTNET_URL }}