mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 00:24:13 -05:00
Add workaround for wasm-pack bug to fix the playground CI (#1861)
Fixes #1860.
This commit is contained in:
3
.github/workflows/playground.yaml
vendored
3
.github/workflows/playground.yaml
vendored
@@ -31,7 +31,8 @@ jobs:
|
||||
- uses: jetli/wasm-pack-action@v0.4.0
|
||||
- uses: jetli/wasm-bindgen-action@v0.2.0
|
||||
- name: "Run wasm-pack"
|
||||
run: wasm-pack build --target web --out-dir playground/src/pkg
|
||||
run: ln -s . ruff # HACK because `wasm-pack build` doesn't support our crate structure (see https://github.com/rustwasm/wasm-pack/issues/1211)
|
||||
run: wasm-pack build --target web --out-dir playground/src/pkg -p ruff
|
||||
- name: "Install Node dependencies"
|
||||
run: npm ci
|
||||
working-directory: playground
|
||||
|
||||
Reference in New Issue
Block a user