chore(repo): increate npm fetch retires count and timeout (#19191)

This commit is contained in:
Emily Xiong 2023-09-21 13:42:39 -04:00 committed by GitHub
parent 6327fab2e0
commit ed0456e798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

4
.npmrc Normal file
View File

@ -0,0 +1,4 @@
fetch-retries=5
fetch-retry-mintimeout=60000
fetch-retry-maxtimeout=120000
fetch-timeout=300000

View File

@ -12,11 +12,13 @@ uplinks:
maxage: 60m
max_fails: 20
fail_timeout: 2m
timeout: 5m
yarn:
url: https://registry.yarnpkg.com
maxage: 60m
max_fails: 20
fail_timeout: 2m
timeout: 5m
packages:
'@*/*':