Skip to content

Commit

Permalink
chore(ci): use binary wasm-pack distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Sep 1, 2023
1 parent 99632e8 commit a812513
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ on:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
WASM_PACK_VERSION: 0.12.0
WASM_OPT_VERSION: 0.114.1

jobs:
check:
Expand Down Expand Up @@ -96,7 +94,7 @@ jobs:
strategy:
matrix:
rust:
- 1.71 # MSRV for wasm-opt & wasm-pack
- 1.67 # MSRV
- stable
target:
- wasm32-unknown-unknown
Expand All @@ -108,7 +106,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install wasm-opt@${{ env.WASM_OPT_VERSION }} wasm-pack@${{ env.WASM_PACK_VERSION }}
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: wasm-pack test --node
working-directory: ferveo-wasm

Expand All @@ -128,7 +126,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install wasm-opt@${{ env.WASM_OPT_VERSION }} wasm-pack@${{ env.WASM_PACK_VERSION }}
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: wasm-pack build --target nodejs
working-directory: ferveo-wasm
- uses: borales/[email protected]
Expand Down

0 comments on commit a812513

Please sign in to comment.