Skip to content

Commit 7350571

Browse files
committed
Update all actions for node24 and bump packages
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
1 parent 07cfc4d commit 7350571

22 files changed

Lines changed: 69 additions & 53 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ jobs:
1414

1515
steps:
1616
# See https://github.com/actions/checkout/releases
17-
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
17+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
18+
# Force yarn v4
19+
- name: Enable Corepack
20+
run: corepack enable
1821
# See https://github.com/actions/setup-node/releases
19-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
22+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2023
with:
2124
node-version: 20
2225
- name: Build and Package
@@ -25,7 +28,7 @@ jobs:
2528
yarn package
2629
- name: Commit Changes
2730
# See https://github.com/planetscale/ghcommit-action/releases
28-
uses: planetscale/ghcommit-action@b662a9d7235a07e80d976152ed5afe41651c4973 # v0.1.43
31+
uses: planetscale/ghcommit-action@a6b150b81dca5dd027baa898604418eec9e11465 # v0.2.22
2932
with:
3033
commit_message: "Update action distribution files"
3134
repo: ${{ github.repository }}

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

notify-discord/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inputs:
1515
includeDownloads:
1616
description: Whether or not to include download links in the message.
1717
required: false
18-
default: true
18+
default: 'true'
1919
metadata:
2020
description: Metadata file containing release data.
2121
required: false
@@ -25,7 +25,7 @@ inputs:
2525
required: true
2626

2727
runs:
28-
using: node20
28+
using: node24
2929
main: dist/index.js
3030

3131
branding:

notify-discord/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
".": "./dist/index.js"
1010
},
1111
"engines": {
12-
"node": ">=20"
12+
"node": ">=24"
1313
},
1414
"scripts": {
1515
"package": "ncc build index.ts --license licenses.txt",

notify-discord/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"module": "NodeNext",
66
"rootDir": "./",
77
"moduleResolution": "NodeNext",
8-
"baseUrl": "./",
8+
"types": [
9+
"node"
10+
],
911
"sourceMap": true,
1012
"outDir": "./dist",
1113
"noImplicitAny": true,

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
"package": "npm run package --ws"
1717
},
1818
"dependencies": {
19-
"@actions/core": "1.10.1",
19+
"@actions/core": "3.0.1",
2020
"tslib": "2.6.2"
2121
},
2222
"devDependencies": {
23-
"@types/node": "20.7.1",
24-
"@vercel/ncc": "0.38.0",
25-
"typescript": "5.2.2"
26-
}
23+
"@types/node": "26.0.1",
24+
"@vercel/ncc": "0.44.0",
25+
"typescript": "6.0.3"
26+
},
27+
"packageManager": "yarn@4.17.0"
2728
}

previous-release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ outputs:
2121
description: The commit of the previous release.
2222

2323
runs:
24-
using: node20
24+
using: node24
2525
main: dist/index.js
2626

2727
branding:

previous-release/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
".": "./dist/index.js"
1010
},
1111
"engines": {
12-
"node": ">=20"
12+
"node": ">=24"
1313
},
1414
"scripts": {
1515
"package": "ncc build index.ts --license licenses.txt",
1616
"package:watch": "npm run package -- --watch"
1717
},
18-
"dependencies": {
19-
"@octokit/auth-app": "6.0.1",
20-
"@octokit/core": "5.0.1",
21-
"@octokit/plugin-rest-endpoint-methods": "10.0.0"
22-
}
18+
"dependencies": {
19+
"@octokit/auth-app": "8.2.0",
20+
"@octokit/core": "7.0.6",
21+
"@octokit/plugin-rest-endpoint-methods": "17.0.0"
22+
}
2323
}

previous-release/src/types/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import { Octokit } from "@octokit/core";
2-
import { Api } from "@octokit/plugin-rest-endpoint-methods/dist-types/types";
2+
import { Api } from "@octokit/plugin-rest-endpoint-methods";
33

44
export type OctokitApi = Octokit & Api;

previous-release/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"module": "NodeNext",
66
"rootDir": "./",
77
"moduleResolution": "NodeNext",
8-
"baseUrl": "./",
8+
"types": [
9+
"node"
10+
],
911
"sourceMap": true,
1012
"outDir": "./dist",
1113
"noImplicitAny": true,

0 commit comments

Comments
 (0)