Yarn v1 Classic unsupported - deprecation is due

オープン
#1,819 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@MikeMcC399 がすでに取り組んでいます。

2026年7月2日 から。

評価

この issue はまだ評価されていません。

説明

documentation

Situation

  • The action installs and runs projects based on Yarn v1 Classic yarn.lock lock files, alongside npm and pnpm projects as alternatives.

  • GitHub Actions runner images such as ubuntu-26.04 continue to bundle Yarn 1.22.22.

  • Yarn v1 Classic has however been in maintenance mode since Jan 2020 with no further support. Maintainers have indicated that they may formally deprecate Yarn v1 in Q3/2026.

Background

Yarn was originally released 14 years ago. The [email protected] release followed then 8 years ago. With the release of Yarn 2 in Jan 2020, it was announced that Yarn v1 would enter maintenance mode and provide security fixes only. This is underlined by the notice on the source repo https://github.com/yarnpkg/yarn :

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry

The last Yarn v1 Classic release was [email protected] in March 2024.

Event Date
Inital [email protected] release Mar 2012
[email protected] release Sep 2017
Yarn 2 GA Jan 2020
[email protected] release Mar 2024
PGP signing key expiry Jan 2030

Cloning the repo and attempting to run yarn test locally under Ubuntu 24.04.4 LTS produces failures on all Node.js versions from 8 - 26.

The PGP signing key 6A010C5166006599AA17F08146C2130DFD2497F5 expires on 2030-01-22T18:44:02Z.

Assessment

Yarn v1 Classic must be considered as no longer suitable for production usage.

  • It is untested in currently supported Node.js versions >=20
  • Emerging bugs and open issues are not addressed. PRs can no longer be submitted by community Contributors.

Recommendation

Deprecate Yarn v1 Classic usage in the Cypress action.

主要言語
JavaScript
スター
1.5k
フォーク
356
平均マージ
1日 9時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cypress-io/github-action のほかの issue

cypress-io/github-action の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。