Skip to content

Commit

Permalink
Use node-fetch to support older node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fcsonline committed Nov 6, 2023
1 parent f1d76e0 commit 7fd6f69
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2 deletions.
87 changes: 86 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
},
"dependencies": {
"js-yaml": "^4.1.0",
"lodash": "^4.17.21"
"lodash": "^4.17.21",
"node-fetch": "^3.3.2"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import kebabCase from "lodash/kebabCase";
import fs from "fs";
import path from "path";
import { promisify } from "util";
import fetch from 'node-fetch';

import { ConcurrencyGroup, Job, JobOptions, StringWithNoSpaces } from "./job";
import type { Event, EventName, EventOptions } from "./event";
Expand Down

0 comments on commit 7fd6f69

Please sign in to comment.