Skip to content

Commit

Permalink
Basic NPM workflow for both packages (#36)
Browse files Browse the repository at this point in the history
further improvements would be

code coverage
skipping changes that doesn't touch that two packages
  • Loading branch information
skaunov authored Sep 23, 2023
1 parent 9a068af commit ccd26a8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Jest NPM test suite (<javascript>, <circuits>)
on: [push, pull_request]

jobs:
test:
name: npm test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: JavaScript tests
uses: actions/setup-node@v3
with:
node-version: 18
- run: |
cd javascript
npm install
npm test
- name: JavaScript `circom` tests
uses: actions/setup-node@v3
with:
node-version: 18
- run: |
cd circuits
npm install
npm test

0 comments on commit ccd26a8

Please sign in to comment.