Skip to content

Commit 3634c6e

Browse files
committed
⬆️ Upgrade pnpm to 10.26.0 and use packageManager field for version
Remove explicit PNPM_VERSION env variables and version parameters from pnpm/action-setup across all workflows. The pnpm/action-setup@v4 action automatically detects the version from the packageManager field in package.json, eliminating redundant version specifications.
1 parent b0ed473 commit 3634c6e

File tree

4 files changed

+1
-20
lines changed

4 files changed

+1
-20
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ concurrency:
1313

1414
env:
1515
NODE_VERSION: '22'
16-
PNPM_VERSION: '10'
1716

1817
jobs:
1918
# ════════════════════════════════════════════════════════════════════
@@ -29,8 +28,6 @@ jobs:
2928

3029
- name: Setup pnpm
3130
uses: pnpm/action-setup@v4
32-
with:
33-
version: ${{ env.PNPM_VERSION }}
3431

3532
- name: Setup Node.js
3633
uses: actions/setup-node@v4
@@ -57,8 +54,6 @@ jobs:
5754

5855
- name: Setup pnpm
5956
uses: pnpm/action-setup@v4
60-
with:
61-
version: ${{ env.PNPM_VERSION }}
6257

6358
- name: Setup Node.js
6459
uses: actions/setup-node@v4
@@ -82,8 +77,6 @@ jobs:
8277

8378
- name: Setup pnpm
8479
uses: pnpm/action-setup@v4
85-
with:
86-
version: ${{ env.PNPM_VERSION }}
8780

8881
- name: Setup Node.js
8982
uses: actions/setup-node@v4
@@ -110,8 +103,6 @@ jobs:
110103

111104
- name: Setup pnpm
112105
uses: pnpm/action-setup@v4
113-
with:
114-
version: ${{ env.PNPM_VERSION }}
115106

116107
- name: Setup Node.js
117108
uses: actions/setup-node@v4
@@ -143,8 +134,6 @@ jobs:
143134

144135
- name: Setup pnpm
145136
uses: pnpm/action-setup@v4
146-
with:
147-
version: ${{ env.PNPM_VERSION }}
148137

149138
- name: Setup Node.js
150139
uses: actions/setup-node@v4
@@ -188,8 +177,6 @@ jobs:
188177

189178
- name: Setup pnpm
190179
uses: pnpm/action-setup@v4
191-
with:
192-
version: ${{ env.PNPM_VERSION }}
193180

194181
- name: Setup Node.js
195182
uses: actions/setup-node@v4

.github/workflows/docs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ concurrency:
1919

2020
env:
2121
NODE_VERSION: '22'
22-
PNPM_VERSION: '10'
2322

2423
jobs:
2524
build:
@@ -33,8 +32,6 @@ jobs:
3332

3433
- name: Setup pnpm
3534
uses: pnpm/action-setup@v4
36-
with:
37-
version: ${{ env.PNPM_VERSION }}
3835

3936
- name: Setup Node.js
4037
uses: actions/setup-node@v4

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ concurrency:
3232

3333
env:
3434
NODE_VERSION: '22'
35-
PNPM_VERSION: '10'
3635

3736
jobs:
3837
release:
@@ -49,8 +48,6 @@ jobs:
4948

5049
- name: '◇ Setup pnpm'
5150
uses: pnpm/action-setup@v4
52-
with:
53-
version: ${{ env.PNPM_VERSION }}
5451

5552
- name: '◇ Setup Node.js'
5653
uses: actions/setup-node@v4

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@
7575
"next": "^15 || ^16",
7676
"react": "^19"
7777
},
78-
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
78+
"packageManager": "pnpm@10.26.0+sha512.3b3f6c725ebe712506c0ab1ad4133cf86b1f4b687effce62a9b38b4d72e3954242e643190fc51fa1642949c735f403debd44f5cb0edd657abe63a8b6a7e1e402"
7979
}

0 commit comments

Comments
 (0)