Skip to content

Commit 4b9ec6b

Browse files
authored
test(deps): update examples to pnpm 10 (#1339)
1 parent 9c49190 commit 4b9ec6b

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.github/workflows/example-basic-pnpm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install pnpm
2323
uses: pnpm/action-setup@v4
2424
with:
25-
version: 9
25+
version: 10
2626

2727
# See https://github.com/actions/setup-node
2828
- name: Install Node.js

.github/workflows/example-start-and-pnpm-workspaces.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
# pnpm is not installed by default on GitHub runners
2626
- name: Install pnpm
27-
run: npm install -g pnpm@9
27+
run: npm install -g pnpm@10
2828

2929
- name: Install dependencies
3030
# with Cypress GitHub Action.
@@ -75,7 +75,7 @@ jobs:
7575
uses: actions/checkout@v4
7676

7777
- name: Install pnpm
78-
run: npm install -g pnpm@9
78+
run: npm install -g pnpm@10
7979

8080
- name: Install dependencies
8181
uses: ./ # approximately equivalent to using cypress-io/github-action@v6

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ jobs:
11421142
- name: Install pnpm
11431143
uses: pnpm/action-setup@v4
11441144
with:
1145-
version: 9
1145+
version: 10
11461146
- name: Install Node.js
11471147
uses: actions/setup-node@v4
11481148
with:

examples/basic-pnpm/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
"private": true,
1010
"devDependencies": {
1111
"cypress": "13.17.0"
12+
},
13+
"pnpm": {
14+
"onlyBuiltDependencies": ["cypress"]
1215
}
1316
}

examples/start-and-pnpm-workspaces/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"name": "start-and-pnpm-workspaces",
33
"version": "1.0.0",
44
"description": "example using pnpm with workspaces",
5-
"private": true
5+
"private": true,
6+
"pnpm": {
7+
"onlyBuiltDependencies": ["cypress"]
8+
}
69
}

0 commit comments

Comments
 (0)