Skip to content

Update webpack et al #28

Update webpack et al

Update webpack et al #28

Workflow file for this run

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@v3
- 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.92 # needs to match Cargo.toml and flake.nix version
accesskey: AKIAU2WBY6VDTC563V7G
secretkey: ${{ secrets.TOOL_CACHE_SECRET_KEY }}
os: ubuntu-20.04
- uses: actions/setup-node@v3
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