Skip to content

Commit 70426e0

Browse files
committed
chore: 更新 pnpm & node 版本
1 parent 70dd65d commit 70426e0

File tree

6 files changed

+12978
-10228
lines changed

6 files changed

+12978
-10228
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set node
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: 20.x
20+
node-version: 23.11.0
2121

2222
- name: Setup
2323
run: npm i -g @antfu/ni
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set node
3636
uses: actions/setup-node@v3
3737
with:
38-
node-version: 16.x
38+
node-version: 23.11.0
3939

4040
- name: Setup
4141
run: npm i -g @antfu/ni
@@ -51,7 +51,7 @@ jobs:
5151

5252
strategy:
5353
matrix:
54-
node: [14.x, 16.x]
54+
node: [23.11.0]
5555
os: [ubuntu-latest, windows-latest, macos-latest]
5656
fail-fast: false
5757

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 20.x
21+
node-version: 23.11.0
2222
registry-url: 'https://registry.npmjs.org'
2323

2424
- run: npx changelogithub
@@ -34,14 +34,14 @@ jobs:
3434

3535
- uses: actions/setup-node@v3
3636
with:
37-
node-version: 16.x
37+
node-version: 23.11.0
3838
registry-url: 'https://registry.npmjs.org'
3939

4040
- uses: pnpm/action-setup@v2.0.1
4141
name: Install pnpm
4242
id: pnpm-install
4343
with:
44-
version: 8.7.6
44+
version: 10.8.0
4545
run_install: false
4646

4747
- name: Get pnpm store directory

example/vue-vite7/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"dev": "vite",
1111
"build": "vite build",
12-
"preview": "vite preview"
12+
"preview": "pnpm build && vite preview"
1313
},
1414
"dependencies": {
1515
"vue": "^3.5.18"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "plugin-web-update-notification",
33
"type": "module",
44
"version": "2.0.1",
5-
"packageManager": "pnpm@7.2.1",
5+
"packageManager": "pnpm@10.8.0",
66
"description": "Detect web page updates and notify",
77
"author": "Utopia",
88
"license": "MIT",
@@ -54,7 +54,8 @@
5454
"publish": "pnpm --filter=./packages/** publish --access public --no-git-checks --registry=https://registry.npmjs.org/",
5555
"test:e2e": "pnpm --filter vue-vite-example test:e2e",
5656
"test:unit": "vitest",
57-
"typecheck": "tsc --noEmit"
57+
"typecheck": "tsc --noEmit",
58+
"logCIVersion": "echo \"Node version: $(node -v)\" && echo \"pnpm version: $(pnpm -v)\""
5859
},
5960
"devDependencies": {
6061
"@antfu/eslint-config": "^0.31.0",
@@ -65,7 +66,6 @@
6566
"bumpp": "^9.0.0",
6667
"eslint": "^8.28.0",
6768
"md5": "^2.3.0",
68-
"pnpm": "^7.16.1",
6969
"rimraf": "^3.0.2",
7070
"tsup": "^6.6.3",
7171
"tsx": "^3.12.5",

0 commit comments

Comments
 (0)