Skip to content

feat: aztec-packages #3231

feat: aztec-packages

feat: aztec-packages #3231

Workflow file for this run

name: Test Noir Js
on:
pull_request:
merge_group:
push:
branches:
- master
jobs:
test-noir-js:
name: Test Noir JS
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Yarn dependencies
uses: ./.github/actions/setup
- name: Setup toolchain
uses: dtolnay/[email protected]
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
key: wasm32-unknown-unknown-noir-js
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}
- name: Install jq
run: sudo apt-get install jq
- name: Install wasm-bindgen-cli
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Install wasm-opt
run: |
npm i wasm-opt -g
- name: Build acvm_js
run: yarn workspace @noir-lang/acvm_js build
- name: Build noirc_abi
run: yarn workspace @noir-lang/noirc_abi build
- name: Build noir_js_types
run: yarn workspace @noir-lang/types build
- name: Build barretenberg wrapper
run: yarn workspace @noir-lang/backend_barretenberg build
- name: Run noir_js tests
run: |
yarn workspace @noir-lang/noir_js build
yarn workspace @noir-lang/noir_js test