Skip to content

Commit 8e3402b

Browse files
authored
wasm: pin Node.js to v22 instead of lts/* to avoid manifest fetch failures (#10151)
`actions/setup-node` with `node-version: "lts/*"` requires fetching a version manifest from GitHub's servers to resolve the alias. This manifest request was returning a GitHub 500 error, causing the `Check` job to fail at setup. ## Changes - **`wasm.yml`, `wasm-release.yml`**: Replace `node-version: "lts/*"` with `node-version: "22"` (current Active LTS), eliminating the remote manifest lookup entirely. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent d722fb1 commit 8e3402b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/wasm-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup node
2727
uses: actions/setup-node@v7
2828
with:
29-
node-version: "lts/*"
29+
node-version: "22"
3030
registry-url: "https://registry.npmjs.org"
3131

3232
- name: Prepare for publish

.github/workflows/wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup node
2727
uses: actions/setup-node@v7
2828
with:
29-
node-version: "lts/*"
29+
node-version: "22"
3030

3131
- name: Setup emscripten
3232
uses: mymindstorm/setup-emsdk@v16

0 commit comments

Comments
 (0)