mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
Add Override The Default Yarn Version as a netlify til
This commit is contained in:
@@ -9,7 +9,7 @@ and pairing with smart people at Hashrocket.
|
||||
|
||||
For a steady stream of TILs, [sign up for my newsletter](https://tinyletter.com/jbranchaud).
|
||||
|
||||
_965 TILs and counting..._
|
||||
_966 TILs and counting..._
|
||||
|
||||
---
|
||||
|
||||
@@ -32,6 +32,7 @@ _965 TILs and counting..._
|
||||
* [Mac](#mac)
|
||||
* [MongoDB](#mongodb)
|
||||
* [MySQL](#mysql)
|
||||
* [Netlify](#netlify)
|
||||
* [Next.js](#nextjs)
|
||||
* [Phoenix](#phoenix)
|
||||
* [PostgreSQL](#postgresql)
|
||||
@@ -426,6 +427,10 @@ _965 TILs and counting..._
|
||||
- [Show Tables That Match A Pattern](mysql/show-tables-that-match-a-pattern.md)
|
||||
- [Show Indexes For A Table](mysql/show-indexes-for-a-table.md)
|
||||
|
||||
### Netlify
|
||||
|
||||
- [Override The Default Yarn Version](netlify/override-the-default-yarn-version.md)
|
||||
|
||||
### Next.js
|
||||
|
||||
- [Define URL Redirects In The Next Config](nextjs/define-url-redirects-in-the-next-config.md)
|
||||
|
||||
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