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/)
Daniel Lo Nigro committed
May 28, 2018 at 11:52 UTC
a32f857ac78ad1b33c61e6fbd47ccd57f21155c2
1 file changed
+1
-1
.circleci/config.yml
+1
-1
@@ -29,7 +29,7 @@ jobs:
29
30
- run:
31
name: Install Packages
32
- command: yarn install
32
+ command: yarn install --frozen-lockfile
33
34
- run:
35
name: Test Packages