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:
Daniel Lo Nigro
2018-05-28 11:52:42 -07:00
committed by Dan Abramov
parent 61777a78f6
commit a32f857ac7
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- run:
name: Install Packages
command: yarn install
command: yarn install --frozen-lockfile
- run:
name: Test Packages