Skip to content

Commit 7434149

Browse files
committed
Upgrade Node.js version to 24.
This requires creating a new major-version (v4) of codeql-action.
1 parent 80cb6b5 commit 7434149

File tree

16 files changed

+69
-70
lines changed

16 files changed

+69
-70
lines changed

.github/actions/check-sarif/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ inputs:
1616
Comma separated list of query ids that should NOT be included in this SARIF file.
1717
1818
runs:
19-
using: node20
19+
using: node24
2020
main: index.js

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
run: npm run lint-ci
7373

7474
- name: Upload sarif
75-
uses: github/codeql-action/upload-sarif@v3
75+
uses: github/codeql-action/upload-sarif@v4
7676
if: matrix.os == 'ubuntu-latest'
7777
with:
7878
sarif_file: eslint.sarif

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Please note that this project is released with a [Contributor Code of Conduct][c
1313

1414
## Development and Testing
1515

16-
Before you start, ensure that you have a recent version of node (16 or higher) installed, along with a recent version of npm (9.2 or higher). You can see which version of node is used by the action in `init/action.yml`.
16+
Before you start, ensure that you have a recent version of node (24 or higher) installed, along with a recent version of npm (9.2 or higher). You can see which version of node is used by the action in `init/action.yml`.
1717

1818
### Common tasks
1919

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ For compiled languages:
6262

6363
The following versions of the CodeQL Action are currently supported:
6464

65-
- v3 (latest)
65+
- v3
66+
- v4 (latest)
6667

6768
## Supported versions of the CodeQL Bundle on GitHub Enterprise Server
6869

analyze/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ outputs:
9292
sarif-id:
9393
description: The ID of the uploaded SARIF file.
9494
runs:
95-
using: node20
95+
using: node24
9696
main: "../lib/analyze-action.js"
9797
post: "../lib/analyze-action-post.js"

autobuild/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ inputs:
1515
$GITHUB_WORKSPACE as its working directory.
1616
required: false
1717
runs:
18-
using: node20
18+
using: node24
1919
main: '../lib/autobuild-action.js'

build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const context = await esbuild.context({
6868
outdir: OUT_DIR,
6969
platform: "node",
7070
plugins: [cleanPlugin, copyDefaultsPlugin, onEndPlugin],
71-
target: ["node20"],
71+
target: ["node24"],
7272
});
7373

7474
await context.rebuild();

init/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ outputs:
165165
codeql-version:
166166
description: The version of the CodeQL binary used for analysis
167167
runs:
168-
using: node20
168+
using: node24
169169
main: '../lib/init-action.js'
170170
post: '../lib/init-action-post.js'

package-lock.json

Lines changed: 11 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeql",
3-
"version": "3.30.6",
3+
"version": "4.30.6",
44
"private": true,
55
"description": "CodeQL action",
66
"scripts": {
@@ -62,7 +62,7 @@
6262
"@types/console-log-level": "^1.4.5",
6363
"@types/follow-redirects": "^1.14.4",
6464
"@types/js-yaml": "^4.0.9",
65-
"@types/node": "20.19.9",
65+
"@types/node": "^24.5.2",
6666
"@types/node-forge": "^1.3.14",
6767
"@types/semver": "^7.7.1",
6868
"@types/sinon": "^17.0.4",

0 commit comments

Comments
 (0)