Skip to content

test: exclude cypress from pnpm minimum age checks#1764

Open
MikeMcC399 wants to merge 1 commit into
cypress-io:masterfrom
MikeMcC399:pnpm-exclude-cypress-minimum-release-age
Open

test: exclude cypress from pnpm minimum age checks#1764
MikeMcC399 wants to merge 1 commit into
cypress-io:masterfrom
MikeMcC399:pnpm-exclude-cypress-minimum-release-age

Conversation

@MikeMcC399
Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 commented May 16, 2026

Situation

pnpm@11.0.0 introduced a breaking change of setting the configuration parameter minimumReleaseAge to 1440 minutes (1 day).

Attempting to install cypress@latest immediately after a release, falls back to installing a previous version that satisfies the requirements minimumReleaseAge. This is a disadvantage when running the npm script update:cypress to update Cypress to the latest version for each package manager (npm, pnpm, Yarn v1 & Yarn Modern), as it leaves the pnpm examples lagging behind.

Change

Configure the pnpm examples with:

in the workflows:


Note

Low Risk
Only adjusts pnpm workspace configuration for example projects; no production code paths or security/data handling logic are affected.

Overview
Updates the pnpm workspace configs in the example projects to set minimumReleaseAge: 4320 and exclude cypress via minimumReleaseAgeExclude.

This ensures pnpm installs cypress@latest immediately after releases while keeping minimum-age constraints for other dependencies.

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

@cypress-app-bot
Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 added type: enhancement New feature or request tests labels May 16, 2026
@MikeMcC399 MikeMcC399 self-assigned this May 16, 2026
@MikeMcC399 MikeMcC399 marked this pull request as ready for review May 16, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpm@11 defaults prevent updating Cypress directly after release

2 participants