mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
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:
parent
d8e9cb93b7
commit
3ab989cf3c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user