Skip to content

test: disable pnpm example under windows-2025 - #1986

Merged
mschile merged 1 commit into
cypress-io:masterfrom
MikeMcC399:disable-pnpm-windows-example
Nov 23, 2026
Merged

mschile merged 1 commit into
cypress-io:masterfrom
MikeMcC399:disable-pnpm-windows-example

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Situation

npm hardening in npm: libnpmexec@11.0.5 bundled in npm@11.21.2 and npm@12.2.2 causes failure in the workflow .github/workflows/example-basic-pnpm.yml under windows-2025.

cypress cache list is called internally by the action using npx independently of the package manager in use.

The action was not originally designed to support pnpm and there continue to be gaps in supportability of pnpm due to this. (See also #1144.)

Change

Disable windows-2025 in .github/workflows/example-basic-pnpm.yml and add a commented link to the issue #1983.

Follow-on actions

If there is no resolution to #1983 then compatibility information should later also be added to the README > pnpm documentation section.


Note

Low Risk
CI-only change to a test workflow matrix; no application or action runtime behavior is modified.

Overview
The basic pnpm GitHub Actions example no longer runs on windows-2025; that matrix entry is commented out with notes pointing to compatibility problems when the action uses pnpm on Windows alongside npm hardening in bundled npm 11.21.2/12.2.2 (issue #1983).

The job still runs on ubuntu-26.04 and macos-26.

Reviewed by Cursor Bugbot for commit 654ffca. Bugbot is set up for automated code reviews on this repo. Configure here.

@MikeMcC399 MikeMcC399 self-assigned this Nov 23, 2026
@MikeMcC399
MikeMcC399 marked this pull request as ready for review November 23, 2026 10:49
@MikeMcC399
MikeMcC399 requested a review from a team as a code owner November 23, 2026 10:49
@MikeMcC399
MikeMcC399 requested a review from mschile November 23, 2026 10:50
@mschile
mschile merged commit 2ccff4a into cypress-io:master Nov 23, 2026
94 checks passed
@MikeMcC399
MikeMcC399 deleted the disable-pnpm-windows-example branch November 23, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants