You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Yarn v1 Classic unsupported - deprecation is due #1819
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 yarn@1.0.0 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 :
To support users moving from Yarn v1 Classic to Yarn Modern, PR #1823 is submitted to allow automatic installation of dependencies using Yarn Modern commands. Previously, only Yarn v1 Classic install commands were embedded in the action.
runtime deprecation - producing a warning if Yarn v1 Classic is detected
Yarn maintainers may declare the official deprecation of Yarn v1 Classic, as they have indicated in yarnpkg/yarn#9062 (comment). This is supposed to be linked to the stable release of Yarn 6.x which is variously stated to be planned for Q3 2026 (or in other places "not before Q3 2026").
The deprecation proposed here is a longer term task, unless factors emerge which prevent legacy Yarn v1 Classic projects from being used in GitHub Actions. Deprecation provides users with advance notice to make plans for alternatives.
In the meantime, GitHub Actions continues to bundle Yarn v1 Classic in their runner images, for example in ubuntu-26.04.
Activity
MikeMcC399 commentedon Jul 4, 2026
To support users moving from Yarn v1 Classic to Yarn Modern, PR #1823 is submitted to allow automatic installation of dependencies using Yarn Modern commands. Previously, only Yarn v1 Classic install commands were embedded in the action.
Edit: see #1823 (comment)
MikeMcC399 commentedon Jul 4, 2026
A sequence of deprecation could be:
Yarn maintainers may declare the official deprecation of Yarn v1 Classic, as they have indicated in yarnpkg/yarn#9062 (comment). This is supposed to be linked to the stable release of Yarn 6.x which is variously stated to be planned for Q3 2026 (or in other places "not before Q3 2026").
The deprecation proposed here is a longer term task, unless factors emerge which prevent legacy Yarn v1 Classic projects from being used in GitHub Actions. Deprecation provides users with advance notice to make plans for alternatives.
In the meantime, GitHub Actions continues to bundle Yarn v1 Classic in their runner images, for example in ubuntu-26.04.