Skip to content
Closed
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:

# See https://github.com/pnpm/action-setup
- name: Install pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading to action-setup v6 installs wrong pnpm version

High Severity

pnpm/action-setup@v6 has a known critical bug (upstream issues #225, #226, #227, #228) where it ignores the version: 10 parameter and installs pnpm v11 beta instead. This causes the bootstrap v11 binary to shadow the self-updated v10 binary due to a PATH priority issue. The v11 bootstrap also modifies pnpm-lock.yaml, leading to ERR_PNPM_BROKEN_LOCKFILE errors and CI failures when combined with actions/setup-node caching and --frozen-lockfile.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5ff1e07. Configure here.

with:
version: 10

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 @@ -28,7 +28,7 @@ jobs:

# See https://github.com/pnpm/action-setup
- name: Install pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6
with:
version: 10

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
uses: actions/checkout@v6

- name: Install pnpm
uses: pnpm/action-setup@v5
uses: pnpm/action-setup@v6
with:
version: 10

Expand Down
Loading