Skip to content

test: update Yarn Modern to 4.14.1#1728

Merged
mschile merged 2 commits intocypress-io:masterfrom
MikeMcC399:update/yarn-modern
Apr 17, 2026
Merged

test: update Yarn Modern to 4.14.1#1728
mschile merged 2 commits intocypress-io:masterfrom
MikeMcC399:update/yarn-modern

Conversation

@MikeMcC399
Copy link
Copy Markdown
Collaborator

@MikeMcC399 MikeMcC399 commented Apr 17, 2026

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
yarn

to 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-modern and examples/yarn-modern-pnp projects to use Yarn 4.14.1 (from 4.13.0) via packageManager.

Adds Yarn config in .yarnrc.yml to allow approvedGitRepositories and enable enableScripts, and regenerates yarn.lock to 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.

@cypress-app-bot
Copy link
Copy Markdown

@mschile mschile merged commit e69a19f into cypress-io:master Apr 17, 2026
86 checks passed
@MikeMcC399 MikeMcC399 deleted the update/yarn-modern branch April 18, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working type: dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants