mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 13:51:38 -04:00
test: retry fetch more
This commit is contained in:
@@ -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