Upgrade recrypt and other deps #43
Workflow file for this run
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: WASM CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
'on': | |
push: | |
branches: | |
- main | |
pull_request: null | |
workflow_dispatch: null | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node_version: | |
- '18' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: IronCoreLabs/[email protected] | |
with: | |
crate: wasm-bindgen-cli | |
version: 0.2.95 # needs to match Cargo.toml and flake.nix version | |
accesskey: AKIAU2WBY6VDTC563V7G | |
secretkey: ${{ secrets.TOOL_CACHE_SECRET_KEY }} | |
os: ubuntu-22.04 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: yarn | |
- name: Install modules | |
run: yarn | |
- name: Compile | |
run: cargo update && yarn run compile | |
- name: Run tests | |
run: yarn run test |