Use @adobe/node-fetch-retry instead of node-fetch. Fix #187

This commit is contained in:
Feng Yu 2022-01-23 11:16:16 +08:00
parent fe9a9bd329
commit 3f7b9fcbad
No known key found for this signature in database
GPG key ID: D57121CAD3189591
3 changed files with 36 additions and 4 deletions

View file

@ -22,13 +22,14 @@
"dependencies": {
"@actions/core": "^1.4.0",
"@actions/github": "^5.0.0",
"@adobe/node-fetch-retry": "^2.0.0",
"@octokit/plugin-retry": "^3.0.9",
"@octokit/plugin-throttling": "^3.5.1",
"glob": "^7.1.6",
"mime": "^2.4.4",
"node-fetch": "^2.6.1"
"mime": "^2.4.4"
},
"devDependencies": {
"@types/adobe__node-fetch-retry": "^1.0.3",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.25",
"@types/mime": "^2.0.1",