Pass --immutable to yarn in CI (#6670)

* Pass `--immutable` to `yarn` in CI

* update for yarn v1
This commit is contained in:
Zach Bloomquist
2020-03-06 16:35:18 -05:00
committed by GitHub
parent c43451a1f6
commit 190d12e306
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ install:
- has-env GH
# clean cache to prevent install permission issues
- yarn cache clean
- yarn || yarn || yarn
- yarn --frozen-lockfile || yarn --frozen-lockfile || yarn --frozen-lockfile
- .\node_modules\.bin\print-arch
# Post-install test scripts.

View File

@@ -236,7 +236,7 @@ jobs:
- run: ls $(yarn global bin)/../lib/node_modules
# try several times, because flaky NPM installs ...
- run: yarn || yarn
- run: yarn --frozen-lockfile || yarn --frozen-lockfile
- run:
name: Top level packages
command: yarn list --depth=0 || true