Commit 516bf3c
authored
ci: use Node.js 24 for wasm publishing (#12038)
**Description:**
The WASM publishing matrix was still using Node.js 20 while installing
`npm@latest`. In the failed publish run, that resolved to npm 12.0.1,
which requires Node.js `^22.22.2 || ^24.15.0 || >=26.0.0`, so all six
WASM packages failed in the `Update npm` step with `EBADENGINE`.
Use Node.js 24 for the WASM publish jobs, matching the repository's
default Node.js version and the regular npm publish job that
successfully installed the same npm release. This only changes the
publishing environment and does not change the published packages'
runtime compatibility.
Validation:
- `actionlint 1.7.12 -color -shellcheck=`
- `git diff --check`
- `cargo fmt --all`
- `cargo clippy --all --all-targets -- -D warnings`
**Related issue (if exists):**
- Failed workflow:
https://github.com/swc-project/swc/actions/runs/296753991411 parent 1b17f34 commit 516bf3c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
| 799 | + | |
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
| |||
0 commit comments