Skip to content

Commit 061058d

Browse files
committed
fix Error fetching release: Request failed with status code 404
1 parent 2ec7e02 commit 061058d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,12 @@ jobs:
316316
registry-url: https://registry.npmjs.org/
317317

318318
- run: pnpm install
319+
# Pin wasm-pack: npm 0.14.0+ downloads from drager/wasm-pack releases, which are
320+
# currently missing on GitHub → "Error fetching release: 404". 0.13.1 uses rustwasm
321+
# URLs that redirect to wasm-bindgen/wasm-pack assets. Local dev often uses
322+
# `cargo install wasm-pack` (CONTRIBUTING) and avoids this path.
319323
- if: matrix.settings.wasm
320-
run: pnpm install -w wasm-pack
324+
run: pnpm install -w wasm-pack@0.13.1
321325

322326
- name: Lint check
323327
if: matrix.settings.wasm

0 commit comments

Comments
 (0)