mirror of
https://github.com/ruvnet/RuView
synced 2026-07-20 17:03:24 +00:00
fix(ci): wasm-pack PATH + Dockerfile workspace stub
Two post-merge CI failures:
1. nvsim Dashboard → GitHub Pages: `wasm-pack: command not found`.
`cargo install wasm-pack --locked` doesn't reliably leave the binary
on PATH inside subsequent steps. Switched both Pages + a11y workflows
to the canonical wasm-pack installer:
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
which deposits to /home/runner/.cargo/bin/ that's already on PATH.
2. nvsim-server → ghcr.io: cargo can't resolve workspace.dependencies
because the partial Cargo.toml copies only two crates. Dockerfile now
generates a stub workspace Cargo.toml inline that lists just nvsim +
nvsim-server with the workspace-deps section copied verbatim.
Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
@@ -24,7 +24,8 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with: { targets: wasm32-unknown-unknown }
|
||||
|
||||
- run: cargo install wasm-pack --locked --version 0.13.x || true
|
||||
- name: Install wasm-pack
|
||||
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
|
||||
- name: Build nvsim WASM
|
||||
working-directory: v2
|
||||
|
||||
@@ -43,7 +43,9 @@ jobs:
|
||||
restore-keys: ${{ runner.os }}-cargo-nvsim-
|
||||
|
||||
- name: Install wasm-pack
|
||||
run: cargo install wasm-pack --locked --version 0.13.x || true
|
||||
run: |
|
||||
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
which wasm-pack
|
||||
|
||||
- name: Build nvsim WASM
|
||||
working-directory: v2
|
||||
|
||||
Reference in New Issue
Block a user