mirror of https://github.com/PCSX2/pcsx2.git
CI: Update the node version for announce-release
This commit is contained in:
parent
04b8748a8f
commit
79250722d6
|
@ -204,7 +204,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
|
||||
- name: Announce Release
|
||||
env:
|
||||
|
|
|
@ -2,7 +2,6 @@ import { MessageEmbed, WebhookClient } from "discord.js";
|
|||
import { Octokit } from "@octokit/rest";
|
||||
import { throttling } from "@octokit/plugin-throttling";
|
||||
import { retry } from "@octokit/plugin-retry";
|
||||
import { fetch } from "node-fetch";
|
||||
|
||||
let owner = process.env.OWNER;
|
||||
let repo = process.env.REPO;
|
||||
|
@ -18,9 +17,6 @@ const octokit = new Octokit({
|
|||
warn: console.warn,
|
||||
error: console.error
|
||||
},
|
||||
request: {
|
||||
fetch: fetch,
|
||||
},
|
||||
throttle: {
|
||||
onRateLimit: (retryAfter, options) => {
|
||||
octokit.log.warn(
|
||||
|
|
Loading…
Reference in New Issue