snarkjs/.github/workflows/tests.yml

26 lines
497 B
YAML
Raw Normal View History

2020-08-04 20:37:37 +02: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 20:38:11 +02:00
run: npm run test