File tree Expand file tree Collapse file tree 6 files changed +17
-37
lines changed
Expand file tree Collapse file tree 6 files changed +17
-37
lines changed Original file line number Diff line number Diff line change 3131 steps :
3232 - uses : actions/checkout@v6
3333 - uses : ./.github/actions/setup
34- - uses : pnpm/action-setup@v4
35- with :
36- package_json_file : wasm/package.json
37- - uses : actions/setup-node@v6
38- with :
39- node-version-file : wasm/package.json
40- - run : tools/build_wasm.sh
41- - run : git diff --exit-code
34+ - uses : ./.github/actions/setup-node
35+ - run : tools/wasm_build.sh
4236 - uses : raviqqe/pnpm-publish@v2
4337 with :
4438 directory : wasm
Original file line number Diff line number Diff line change @@ -162,16 +162,11 @@ jobs:
162162 steps :
163163 - uses : actions/checkout@v6
164164 - uses : ./.github/actions/setup
165- - uses : actions/setup-node@v6
166- with :
167- node-version : " >=23.5.0"
168- - run : cargo install wasm-pack
169- - run : wasm-pack build
170- working-directory : wasm
171- - run : wasm-pack test --node --release
172- working-directory : wasm
173- - run : wasm-pack pack
174- working-directory : wasm
165+ - uses : ./.github/actions/setup-node
166+ - run : tools/wasm_build.sh
167+ - run : tools/wasm_test.sh
168+ # Test no changes in the lock file and ignored artifacts.
169+ - run : git diff --exit-code
175170 decode :
176171 runs-on : ubuntu-latest
177172 steps :
Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ cargo install wasm-pack
66
77cd wasm
88
9+ mkdir -p tmp
10+
911wasm-pack build --target web -- --features async
10- jq ' . + input' pkg/package.json package.template.json > / tmp/package.json
11- mv / tmp/package.json pkg
12+ jq ' . + input' pkg/package.json package.template.json > tmp/package.json
13+ mv tmp/package.json pkg
1214
1315wasm-pack pack
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ cd wasm
6+ wasm-pack test --node
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments