This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
yarn-path
configuration property forces needless yarn binary installs
#594
Labels
Within our build system we rely on
yarn --version
to detect a mismatch between the default/configured yarn version and what we currently have installed in our build context. Defining ayarn-path
in your.yarnrc
sets a local yarn binary to execute within the context of that project. This means that the following scenario is possible:1.22.10
).yarnrc
with ayarn-path
config property set to a local binary (e.g. version1.21.1
)In that case, on every build, you'll always be installing a unused yarn version. Example logs:
The text was updated successfully, but these errors were encountered: