Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(deps): update examples to pnpm 10 #1339

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/example-basic-pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
version: 10

# See https://github.com/actions/setup-node
- name: Install Node.js
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/example-start-and-pnpm-workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

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

- name: Install dependencies
# with Cypress GitHub Action.
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
run: npm install -g pnpm@9
run: npm install -g pnpm@10

- name: Install dependencies
uses: ./ # approximately equivalent to using cypress-io/github-action@v6
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
version: 10
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions examples/basic-pnpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
"private": true,
"devDependencies": {
"cypress": "13.17.0"
},
"pnpm": {
"onlyBuiltDependencies": ["cypress"]
}
}
5 changes: 4 additions & 1 deletion examples/start-and-pnpm-workspaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"name": "start-and-pnpm-workspaces",
"version": "1.0.0",
"description": "example using pnpm with workspaces",
"private": true
"private": true,
"pnpm": {
"onlyBuiltDependencies": ["cypress"]
}
}