mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use --frozen-lockfile for Yarn in CI build (#12914)
CI builds should always use the `--frozen-lockfile` option. It will fail the build if the lockfile is out-of-date: > If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag. (https://yarnpkg.com/en/docs/cli/install/)
This commit is contained in:
committed by
Dan Abramov
parent
61777a78f6
commit
a32f857ac7
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
- run:
|
||||
name: Install Packages
|
||||
command: yarn install
|
||||
command: yarn install --frozen-lockfile
|
||||
|
||||
- run:
|
||||
name: Test Packages
|
||||
|
||||
Reference in New Issue
Block a user