-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Yarn 1.22.22 #9143
fix: Yarn 1.22.22 #9143
Conversation
Docs: https://classic.yarnpkg.com/lang/en/docs/package-json/#toc-engines Contains lockfile hydration fix - PR: yarnpkg/yarn#9023 - Commit: yarnpkg/yarn@88d5e44
Autogenerated by Yarn CLI Docs: https://yarnpkg.com/cli/set/version Like we currently lock metamask-extension to v4.0.2
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Will improve contribution onboarding too!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9143 +/- ##
==========================================
+ Coverage 45.58% 45.79% +0.21%
==========================================
Files 1289 1317 +28
Lines 31973 32325 +352
Branches 3314 3368 +54
==========================================
+ Hits 14574 14804 +230
- Misses 16528 16632 +104
- Partials 871 889 +18 ☔ View full report in Codecov by Sentry. |
This comment was marked as resolved.
This comment was marked as resolved.
This reverts commit 4deff12.
Bitrise✅✅✅ Commit hash: fb17b39 Note
|
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Bitrise❌❌❌ Commit hash: 75828e7 Note
|
Bitrise🔄🔄🔄 Commit hash: 3f3a1f5 Note
|
Bitrise✅✅✅ Commit hash: 182526d Note
|
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Prevent engineers using different Yarn versions with different features
causing our CI dedupe step to break
yarn deduplicate
and commitNPM orCorepackNb: our metamask-extension setup
https://classic.yarnpkg.com/lang/en/docs/package-json/#toc-engines
https://classic.yarnpkg.com/lang/en/docs/yarnrc/#toc-yarn-path
https://yarnpkg.com/getting-started/qa
https://yarnpkg.com/cli/set/version
https://nodejs.org/dist/latest-v15.x/docs/api/all.html (introduced in Node v16 only)
https://nodejs.org/dist/latest-v16.x/docs/api/all.html#all_packages_packagemanager
from testing our repo (on Node v18), this appears to have no effect enforcing the version
from testing our repo, we could revert c7d67e6 to keep our structure simpler
since the package.json engine field is enough to enforce the version
but these 2 files are generated by running
yarn set version 1.22.22
Yarn v1.22 update
npm:
protocol yarnpkg/yarn#9023Related issues
Fixes: CI dedupe step consistently failing
Manual testing steps
yarn --version
is below 1.22.22yarn set version 1.22.21
yarn
Nb: after doing this too many times, you can use a VPN as a workaround
Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist