- upgrade to node20 for the GitHub actions

- remove node-fetch as it is no longer required with node 20
- upgrade actions to use node20
This commit is contained in:
Mike Penz
2023-09-04 13:52:54 +00:00
committed by GitHub
parent dc8bed188d
commit 512b4d3a42
11 changed files with 110 additions and 197 deletions
+1 -5
View File
@@ -2,7 +2,6 @@ import {checkExportedData, mergeConfiguration, resolveConfiguration} from '../sr
import {Octokit} from '@octokit/rest'
import {buildChangelog} from '../src/transform'
import {pullData} from '../src/pr-collector/prCollector'
import fetch from 'node-fetch'
import {Data} from '../src/releaseNotesBuilder'
jest.setTimeout(180000)
@@ -10,10 +9,7 @@ jest.setTimeout(180000)
// load octokit instance
const enablePullData = false // if false -> use cache for data
const octokit = new Octokit({
auth: `token ${process.env.GITHUB_TOKEN}`,
request: {
fetch: fetch
}
auth: `token ${process.env.GITHUB_TOKEN}`
})
it('Should have empty changelog (tags)', async () => {