Skip to content

Commit 3756460

Browse files
matijsRobbert
authored andcommitted
build: bump pnpm version to v9
- update package.json - update "engines" field - add "packageManager" field for use with corepack - update workflow jobs - remove "version" input for "pnpm/setup-action" as the action will use the "packageManager" field from `package.json` - update pnpm-lock.yaml An environment variable "ENABLE_EXPERIMENTAL_COREPACK" was added to the build environment on Vercel. This makes sure that Vercel will use corepack which will ensure the correct version of pnpm is used.
1 parent 1dcf73a commit 3756460

File tree

3 files changed

+9943
-8058
lines changed

3 files changed

+9943
-8058
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616

1717
- name: Install pnpm package manager
1818
uses: pnpm/action-setup@v3.0.0
19-
with:
20-
version: 8.14
2119

2220
- name: Set up Node.js version
2321
uses: actions/setup-node@v4.0.2
@@ -40,8 +38,6 @@ jobs:
4038

4139
- name: Install pnpm package manager
4240
uses: pnpm/action-setup@v3.0.0
43-
with:
44-
version: 8.14
4541

4642
- name: Set up Node.js version
4743
uses: actions/setup-node@v4.0.2
@@ -67,8 +63,6 @@ jobs:
6763

6864
- name: Install pnpm package manager
6965
uses: pnpm/action-setup@v3.0.0
70-
with:
71-
version: 8.14
7266

7367
- name: Set up Node.js version
7468
uses: actions/setup-node@v4.0.2
@@ -115,8 +109,6 @@ jobs:
115109

116110
- name: Install pnpm package manager
117111
uses: pnpm/action-setup@v3.0.0
118-
with:
119-
version: 8.14
120112

121113
- name: Set up Node.js version
122114
uses: actions/setup-node@v4.0.2
@@ -166,8 +158,6 @@ jobs:
166158

167159
- name: Install pnpm package manager
168160
uses: pnpm/action-setup@v3.0.0
169-
with:
170-
version: 8.14
171161

172162
- name: Set up Node.js version
173163
uses: actions/setup-node@v4.0.2

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"private": true,
1111
"engines": {
1212
"node": "^20",
13-
"pnpm": "^8"
13+
"pnpm": "^9"
1414
},
1515
"workspaces": [
1616
"./packages/*",
@@ -75,5 +75,6 @@
7575
},
7676
"dependencies": {
7777
"http-server": "14.1.1"
78-
}
78+
},
79+
"packageManager": "pnpm@9.1.1+sha256.9551e803dcb7a1839fdf5416153a844060c7bce013218ce823410532504ac10b"
7980
}

0 commit comments

Comments
 (0)