test: exclude cypress from pnpm minimum age checks#1764
Open
MikeMcC399 wants to merge 1 commit into
Open
Conversation
Collaborator
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Situation
pnpm@11.0.0 introduced a breaking change of setting the configuration parameter minimumReleaseAge to 1440 minutes (1 day).
Attempting to install
cypress@latestimmediately after a release, falls back to installing a previous version that satisfies the requirements minimumReleaseAge. This is a disadvantage when running the npm scriptupdate:cypressto 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:
cypressin 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: 4320and excludecypressviaminimumReleaseAgeExclude.This ensures pnpm installs
cypress@latestimmediately 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.