Fixes #69: Loop yarn installs to mitigate network failures

This commit is contained in:
cytopia
2018-12-14 17:33:29 +01:00
parent f90a3532fc
commit 11ef4c6f3f
11 changed files with 22 additions and 22 deletions

View File

@@ -423,8 +423,8 @@ software_available:
check: grunt --version | grep -E '[.0-9]+'
all:
command: |
yarn global add --prod --non-interactive --link-duplicates --silent --cache-folder /tmp/y grunt \
&& yarn global add --prod --non-interactive --link-duplicates --silent --cache-folder /tmp/y grunt-cli \
until yarn global add --prod --non-interactive --link-duplicates --silent --cache-folder /tmp/y grunt; do sleep 1; done \
&& until yarn global add --prod --non-interactive --link-duplicates --silent --cache-folder /tmp/y grunt-cli; do sleep 1; done \
&& rm -rf /tmp/y \
laravel:
check: laravel --version | grep -E '(Installer|version)\s*[.0-9]+'