Skip to content

Commit 86c6af6

Browse files
committed
chore: upgrade pnpm from v9 to v10 to fix url.parse() deprecation warning
- Update packageManager to pnpm@10.11.0 - Update CI workflow to use pnpm/action-setup@v4 and version 10 This eliminates the Node.js url.parse() deprecation warning in CI logs.
1 parent 85c3e40 commit 86c6af6

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ jobs:
3838
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3939

4040
- name: Setup pnpm
41-
uses: pnpm/action-setup@v2
41+
uses: pnpm/action-setup@v4
4242
with:
43-
version: 9
43+
version: 10
4444

4545
- name: Setup Node.js
4646
uses: actions/setup-node@v4
@@ -98,9 +98,9 @@ jobs:
9898
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
9999

100100
- name: Setup pnpm
101-
uses: pnpm/action-setup@v2
101+
uses: pnpm/action-setup@v4
102102
with:
103-
version: 9
103+
version: 10
104104

105105
- name: Setup Node.js
106106
uses: actions/setup-node@v4
@@ -211,9 +211,9 @@ jobs:
211211
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
212212

213213
- name: Setup pnpm
214-
uses: pnpm/action-setup@v2
214+
uses: pnpm/action-setup@v4
215215
with:
216-
version: 9
216+
version: 10
217217

218218
- name: Setup Node.js
219219
uses: actions/setup-node@v4
@@ -256,9 +256,9 @@ jobs:
256256
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
257257

258258
- name: Setup pnpm
259-
uses: pnpm/action-setup@v2
259+
uses: pnpm/action-setup@v4
260260
with:
261-
version: 9
261+
version: 10
262262

263263
- name: Setup Node.js
264264
uses: actions/setup-node@v4
@@ -303,9 +303,9 @@ jobs:
303303
uses: dtolnay/rust-toolchain@stable
304304

305305
- name: Setup pnpm
306-
uses: pnpm/action-setup@v2
306+
uses: pnpm/action-setup@v4
307307
with:
308-
version: 9
308+
version: 10
309309

310310
- name: Setup Node.js
311311
uses: actions/setup-node@v4
@@ -349,9 +349,9 @@ jobs:
349349
components: clippy
350350

351351
- name: Setup pnpm
352-
uses: pnpm/action-setup@v2
352+
uses: pnpm/action-setup@v4
353353
with:
354-
version: 9
354+
version: 10
355355

356356
- name: Setup Node.js
357357
uses: actions/setup-node@v4
@@ -392,9 +392,9 @@ jobs:
392392
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
393393

394394
- name: Setup pnpm
395-
uses: pnpm/action-setup@v2
395+
uses: pnpm/action-setup@v4
396396
with:
397-
version: 9
397+
version: 10
398398

399399
- name: Setup Node.js
400400
uses: actions/setup-node@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@
6767
"dependencies": {
6868
"rspress": "^1.47.1"
6969
},
70-
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
70+
"packageManager": "pnpm@10.11.0+sha512.86138b99a3a32ba23665c3a261624286ac51e6078980fa11b9092626379708cdd4d96b29e339820a62ae21da9fd56f5640ab75f830c8ca0fe071529d912a28e1"
7171
}

0 commit comments

Comments
 (0)