diff --git a/README.md b/README.md index 8cb9d72..882e495 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/netlify/override-the-default-yarn-version.md b/netlify/override-the-default-yarn-version.md new file mode 100644 index 0000000..5cfa63b --- /dev/null +++ b/netlify/override-the-default-yarn-version.md @@ -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)