chore: run mpc tests on CI #38
This file contains hidden or 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: [push] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-20.04 | |
| strategy: | |
| matrix: | |
| node-version: [20] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - uses: cargo-bins/cargo-binstall@v1.10.22 | |
| - name: Install co-noir | |
| run: cargo binstall --git https://github.com/TaceoLabs/co-snarks co-noir -y | |
| - name: Run tests | |
| # TODO(security): test all packages & apps (js, noir & rust) | |
| run: cd packages/contracts && pnpm test |