Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not install yarn latest in docker build
As per the documentation for `yarn set version`: The version specifier can be: - a tag: - `latest` / `berry` / `stable` -> the most recent stable berry (`>=2.0.0`) release So `yarn set version berry` is equivalent to `yarn set version latest`, which will install newly released versions of yarn. There was a release of yarn v4.0.0 yesterday - https://github.com/yarnpkg/berry/releases/tag/%40yarnpkg%2Fcli%2F4.0.0 which is now breaking the build, because it produces a slightly different lockfile. The docker build should use whichever yarn version package.json uses, not install the latest version on the fly.
- Loading branch information