Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Autoparallel committed Aug 7, 2024
1 parent b70e77c commit fdb3f3b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js
- name: use node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
- name: install dependencies
run: |
npm install
npm install -g [email protected]
npm install -g snarkjs
- name: Run tests
run: npx mocha
- name: download Circom
run: |
CIRCOM_VERSION=2.0.0 # Specify the version you need
curl -L https://github.com/iden3/circom/releases/download/v$CIRCOM_VERSION/circom-linux-amd64-$CIRCOM_VERSION.tar.gz -o circom.tar.gz
tar -xzf circom.tar.gz
sudo mv circom /usr/local/bin/
circom --version # Verify installation
- name: run tests
run: npx mocha

0 comments on commit fdb3f3b

Please sign in to comment.