Skip to content

Commit

Permalink
Specify the wasm-pack version for release workflows (#16278)
Browse files Browse the repository at this point in the history
This PR uses the same version specified in
#14465 for the CI workflow to
prevent random versions from being pulled like in the 0.9.7
[release](https://github.com/astral-sh/ruff/actions/runs/13436100909/job/37539387595).
  • Loading branch information
ntBre authored Feb 20, 2025
1 parent 529950f commit b385c7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
cache: "npm"
cache-dependency-path: playground/package-lock.json
- uses: jetli/[email protected]
with:
version: v0.13.1
- uses: jetli/[email protected]
- name: "Run wasm-pack"
run: wasm-pack build --target web --out-dir ../../playground/src/pkg crates/ruff_wasm
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- name: "Install Rust toolchain"
run: rustup target add wasm32-unknown-unknown
- uses: jetli/[email protected]
with:
version: v0.13.1
- uses: jetli/[email protected]
- name: "Run wasm-pack build"
run: wasm-pack build --target ${{ matrix.target }} crates/ruff_wasm
Expand Down

0 comments on commit b385c7d

Please sign in to comment.