test: retry fetch more
This commit is contained in:
1 file changed
+3
-1
@@ -8,7 +8,9 @@ process.env.ROOT = root
|
||||
const tmpPath = join(root, '.tmp')
|
||||
mkdirp.sync(tmpPath)
|
||||
const npmrc = [
|
||||
'store-path=./node_modules/.store'
|
||||
'store-path=./node_modules/.store',
|
||||
'fetch-retries=5',
|
||||
'fetch-retry-maxtimeout=180000'
|
||||
]
|
||||
fs.writeFileSync(join(tmpPath, '.npmrc'), npmrc, 'utf-8')
|
||||
|
||||
|
||||
Reference in new issue
Block a user