When you first deploy an app to Netlify, the current default Yarn 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.