mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e35d9eaa7d
This is a backport of #34902 to the 8.2.x branch (except that yarn v1.17.3 is used to satisfy the yarn version requirements of the 8.2.x branch). This will ensure that an appropriate yarn version will be used in the `aio_monitoring_stable` CI job, which checks out files from the git branch corresponding to the latest stable Angular version (currently the 8.2.x branch). (Example of the current failure: https://circleci.com/gh/angular/angular/598455)
Yarn Vendoring
We utilize Yarn's yarn-path configuration in a shared .yarnrc file to enforce
everyone using the same version of Yarn. Yarn checks the .yarnrc file to
determine if yarn should delegate the command to a vendored version at the
provided path.
How to update
To update to the latest version of Yarn as our vendored version:
- Run this command
yarn policies set-version latest
- Remove the previous version