snarkjs/.github/workflows/tests.yml

26 lines
497 B
YAML
Raw Permalink Normal View History

2020-08-04 21:37:37 +03:00
name: tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g circom@latest
- run: npm install
- name: mocha tests
2020-08-04 21:38:11 +03:00
run: npm run test