mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Override The Default Yarn Version as a netlify til
This commit is contained in:
11
netlify/override-the-default-yarn-version.md
Normal file
11
netlify/override-the-default-yarn-version.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Override The Default Yarn Version
|
||||
|
||||
When you first deploy an app to [Netlify](https://www.netlify.com/), the
|
||||
current default [Yarn](https://yarnpkg.com/) version will be locked in. This
|
||||
Yarn version will be used for future builds and deployments.
|
||||
|
||||
You can override the default Yarn version by including the `YARN_VERSION`
|
||||
environment variable. Set it to the desired major and minor version in the app
|
||||
settings panel. The next deployment will use that new version.
|
||||
|
||||
[source](https://community.netlify.com/t/default-yarn-version-is-now-1-17/2297)
|
||||
Reference in New Issue
Block a user