retry terrapin 5 times (#171489)

fixes #170935
This commit is contained in:
João Moreno
2023-01-17 13:48:02 +01:00
committed by GitHub
parent df6f1b8ac5
commit e8fa61d2fc
12 changed files with 14 additions and 14 deletions

View File

@@ -4,7 +4,7 @@ set -e
echo "Installing remote dependencies"
(cd remote && rm -rf node_modules)
for i in {1..3}; do # try 3 times
for i in {1..5}; do # try 5 times
yarn --cwd remote --frozen-lockfile --check-files && break
if [ $i -eq 3 ]; then
echo "Yarn failed too many times" >&2