Skip to content

Commit 194f6fd

Browse files
committed
Retry install to work around yarn bug
yarnpkg/yarn#2629
1 parent 854cd21 commit 194f6fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ jobs:
7373

7474
- run: yarn config set cache-folder /mnt/ramdisk/yarn-cache
7575

76-
- run: yarn
76+
# Yarn has some random race-condition failures, trying multiple times seems to help
77+
# when the source of the problem is yarn itself and not the packages
78+
- run: yarn || yarn || yarn
7779

7880
- run:
7981
# As a workaround to the --frozen-lockfile flag not working with workspaces

0 commit comments

Comments
 (0)