chore: increase npm retries and max timeout (#1550)

CI servers fail with timeouts, or network issues quite frequently,
requiring maintainers to manually restart failed builds.

Hopefully these npm settings will help mitigating these issues.

Change-Type: patch
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
Juan Cruz Viotti 2017-06-27 13:11:54 -04:00 committed by GitHub
parent d8e9cb93b7
commit 3ab989cf3c

View File

@ -101,7 +101,7 @@ function run_install() {
# since compiled add-ons will not work otherwise.
npm rebuild
npm install $INSTALL_OPTS
npm install $INSTALL_OPTS --fetch-retries 10 --fetch-retry-maxtimeout 180000
if [ "$ARGV_PRODUCTION" == "true" ]; then