Skip to content

Commit aa43d7f

Browse files
ci: update wasm tools install and add build info
Standardize wasm tools installation across CI and publish workflows. Add version output for better debugging. Issue: BTC-1845
1 parent a91bf0f commit aa43d7f

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
node-version: ${{ matrix.node-version }}
4343

44-
- name: Install wasm-pack
44+
- name: Install wasm tools
4545
run: |
4646
rustup component add rustfmt
4747
cargo install wasm-pack --version 0.13.1

.github/workflows/publish.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,22 @@ jobs:
2929
with:
3030
toolchain: nightly
3131

32-
- name: Install wasm-pack
32+
- name: Install wasm tools
3333
run: |
34-
cargo install wasm-pack
34+
rustup component add rustfmt
35+
cargo install wasm-pack --version 0.13.1
36+
cargo install wasm-opt --version 0.116.1
37+
38+
- name: Build Info
39+
run: |
40+
echo "node $(node --version)"
41+
echo "npm $(npm --version)"
42+
echo "rustc $(rustc --version)"
43+
echo "wasm-pack $(wasm-pack --version)"
44+
echo "wasm-opt $(wasm-opt --version)"
45+
git --version
46+
echo "base ref $GITHUB_BASE_REF"
47+
echo "head ref $GITHUB_HEAD_REF"
3548
3649
- name: Build Info
3750
run: |

0 commit comments

Comments
 (0)