Skip to content

Commit 9978eaa

Browse files
committed
[difftrain] Remove dependency on node-fetch
`fetch` is now provided by github-scripts implicitly in https://github.com/actions/github-script/releases/tag/v6.4.0, so this was causing a duplicate declaration error.
1 parent 189f70e commit 9978eaa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/commit_artifacts.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@ jobs:
88
download_artifacts:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/setup-node@v3
12-
with:
13-
node-version: 18.x
14-
- run: npm init -y
15-
- run: npm install node-fetch@2
1611
- name: Download and unzip artifacts
1712
uses: actions/github-script@v6
1813
with:
1914
script: |
2015
const cp = require('child_process');
21-
const fetch = require('node-fetch');
2216
2317
function sleep(ms) {
2418
return new Promise(resolve => setTimeout(resolve, ms));

0 commit comments

Comments
 (0)