Skip to content

Commit

Permalink
test(deps): update examples to pnpm 10
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Jan 8, 2025
1 parent 9c49190 commit dd577bc
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
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"]
}
}

0 comments on commit dd577bc

Please sign in to comment.