From 190d12e30681966ef36d3d720c9ba9764a9c8cdc Mon Sep 17 00:00:00 2001 From: Zach Bloomquist Date: Fri, 6 Mar 2020 16:35:18 -0500 Subject: [PATCH] Pass `--immutable` to `yarn` in CI (#6670) * Pass `--immutable` to `yarn` in CI * update for yarn v1 --- appveyor.yml | 2 +- circle.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 3df8ed4ef6..addd2632e0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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. diff --git a/circle.yml b/circle.yml index 55b4cfc96a..a201a95bda 100644 --- a/circle.yml +++ b/circle.yml @@ -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