Skip to content

Commit 2c2b343

Browse files
authored
chore: upgrade pnpm to 9 (opennextjs#595)
* update pnpm to 9 in engines * update pnpm in gh actions * lockfile * remove workspaces from package.json
1 parent 2a7be74 commit 2c2b343

File tree

4 files changed

+6935
-5474
lines changed

4 files changed

+6935
-5474
lines changed

.github/actions/pnpm-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
# Install pnpm. https://github.com/pnpm/action-setup
1414
- uses: pnpm/action-setup@v4
1515
with:
16-
version: 8
16+
version: 9
1717
# run_install: false
1818

1919
# Get pnpm store path so we can cache it

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Setup pnpm
8989
uses: pnpm/action-setup@v4
9090
with:
91-
version: 8
91+
version: 9
9292

9393
- name: Set up NodeJS v18
9494
uses: actions/setup-node@v4

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"license": "MIT",
55
"private": true,
66
"type": "module",
7-
"workspaces": [
8-
"packages/*"
9-
],
107
"scripts": {
118
"dev": "turbo run dev",
129
"build": "turbo run build",
@@ -29,6 +26,6 @@
2926
},
3027
"engines": {
3128
"node": ">=18",
32-
"pnpm": ">=8 <9"
29+
"pnpm": ">=9"
3330
}
3431
}

0 commit comments

Comments
 (0)