Skip to content

Commit

Permalink
Merge pull request #390 from murgatroid99/test_install_retries
Browse files Browse the repository at this point in the history
Increase npm retries when downloading packages
  • Loading branch information
murgatroid99 authored Jun 7, 2018
2 parents fc07442 + 717d9f7 commit 3a72b9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run-tests.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ call nvm version
call nvm install 8
call nvm use 8

SET npm_config_fetch_retries=5

call npm install || goto :error

SET JUNIT_REPORT_STACK=1
Expand Down
2 changes: 2 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ nvm install lts/*
nvm use lts/*
set -ex

npm_config_fetch_retries=5

npm install --unsafe-perm

mkdir -p reports
Expand Down

0 comments on commit 3a72b9f

Please sign in to comment.