Merge pull request #10 from Portkey-Wallet/cleanup #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Download circom | |
uses: supplypike/setup-bin@v4 | |
with: | |
uri: "https://github.com/iden3/circom/releases/latest/download/circom-linux-amd64" | |
name: "circom" | |
version: "latest" | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- name: Install node_modules | |
run: npm install | |
- name: Test the main circuit | |
run: npm run test |