test: update Yarn Modern to 4.14.1#1728
Merged
mschile merged 2 commits intocypress-io:masterfrom Apr 17, 2026
Merged
Conversation
|
This was referenced Apr 17, 2026
mschile
approved these changes
Apr 17, 2026
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
The currently configured Yarn Modern 4.13.0 is not compatible with the update to Node.js 24.15.0 LTS. Also the attempted Renovate update to Yarn 4.14.0 in PR #1725 failed for the same compatibility reason.
Yarn Berry 4.14.1, released Apr 17, 2026 resolves the incompatibility.
Change
In the example directories:
currently using Yarn Modern 4.13.0, execute:
yarn set version latest yarnto update and migrate to the latest Yarn Modern release Yarn Berry 4.14.1
This is beyond the scope of what a Renovate update could do.
Note
Low Risk
Low risk: changes are limited to example projects’ Yarn configuration and lockfile metadata, with no production/runtime code impacted.
Overview
Updates the
examples/yarn-modernandexamples/yarn-modern-pnpprojects to use Yarn 4.14.1 (from 4.13.0) viapackageManager.Adds Yarn config in
.yarnrc.ymlto allowapprovedGitRepositoriesand enableenableScripts, and regeneratesyarn.lockto the newer lockfile metadata version.Reviewed by Cursor Bugbot for commit c2a51ba. Bugbot is set up for automated code reviews on this repo. Configure here.