diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml new file mode 100644 index 0000000..8408d1a --- /dev/null +++ b/.github/workflows/npm.yml @@ -0,0 +1,27 @@ +name: Jest NPM test suite (, ) +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