CI: Update the node version for announce-release

This commit is contained in:
Ty 2025-02-16 11:29:57 -05:00
parent 04b8748a8f
commit 79250722d6
No known key found for this signature in database
GPG Key ID: A0C3085FE2160BCF
2 changed files with 1 additions and 5 deletions

View File

@ -204,7 +204,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Announce Release
env:

View File

@ -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(