mirror of https://github.com/astral-sh/ruff
Add workaround for wasm-pack bug to fix the playground CI (#1861)
Fixes #1860.
This commit is contained in:
parent
22341c4ae4
commit
156e09536e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue