From 194f6fd6df8f5080b8783c79d48718d211c32dbe Mon Sep 17 00:00:00 2001 From: Ori Moisis Date: Wed, 27 Jan 2021 17:10:15 +0200 Subject: [PATCH] Retry install to work around yarn bug https://github.com/yarnpkg/yarn/issues/2629 --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0eaa73f99b1..256990c0521 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -73,7 +73,9 @@ jobs: - run: yarn config set cache-folder /mnt/ramdisk/yarn-cache - - run: yarn + # Yarn has some random race-condition failures, trying multiple times seems to help + # when the source of the problem is yarn itself and not the packages + - run: yarn || yarn || yarn - run: # As a workaround to the --frozen-lockfile flag not working with workspaces