From beb45655ae31314951c106b46303ff0d0bf2898d Mon Sep 17 00:00:00 2001 From: amyu Date: Thu, 4 Sep 2025 01:40:21 +0900 Subject: [PATCH] Upgrade to node 24 --- .github/actions/build-dist/action.yml | 2 +- dependency-submission/action.yml | 2 +- setup-gradle/action.yml | 2 +- sources/.tool-versions | 2 +- sources/package-lock.json | 3 +++ sources/package.json | 3 +++ wrapper-validation/action.yml | 2 +- 7 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/actions/build-dist/action.yml b/.github/actions/build-dist/action.yml index 5a9e0aee..6f4b8cc1 100644 --- a/.github/actions/build-dist/action.yml +++ b/.github/actions/build-dist/action.yml @@ -5,7 +5,7 @@ runs: steps: - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: 20 + node-version: 24 cache: npm cache-dependency-path: sources/package-lock.json - name: Build distribution diff --git a/dependency-submission/action.yml b/dependency-submission/action.yml index db4e0f1c..a5ee281c 100644 --- a/dependency-submission/action.yml +++ b/dependency-submission/action.yml @@ -222,7 +222,7 @@ outputs: description: Version of Gradle that was setup by the action runs: - using: 'node20' + using: 'node24' main: '../dist/dependency-submission/main/index.js' post: '../dist/dependency-submission/post/index.js' diff --git a/setup-gradle/action.yml b/setup-gradle/action.yml index 23f7ef72..78e08a6d 100644 --- a/setup-gradle/action.yml +++ b/setup-gradle/action.yml @@ -239,7 +239,7 @@ outputs: description: Version of Gradle that was setup by the action runs: - using: 'node20' + using: 'node24' main: '../dist/setup-gradle/main/index.js' post: '../dist/setup-gradle/post/index.js' post-if: '!cancelled()' diff --git a/sources/.tool-versions b/sources/.tool-versions index c1370032..b03358c8 100644 --- a/sources/.tool-versions +++ b/sources/.tool-versions @@ -1,3 +1,3 @@ # Configuration file for asdf version manager -nodejs 20.19.0 +nodejs 24.3.0 gradle 8.14.2 diff --git a/sources/package-lock.json b/sources/package-lock.json index e8096f7d..6d20cb8e 100644 --- a/sources/package-lock.json +++ b/sources/package-lock.json @@ -45,6 +45,9 @@ "prettier": "3.6.2", "ts-jest": "29.4.1", "typescript": "5.9.2" + }, + "engines": { + "node": ">=24.0.0" } }, "node_modules/@actions/artifact": { diff --git a/sources/package.json b/sources/package.json index 590a5dfe..82372a9b 100644 --- a/sources/package.json +++ b/sources/package.json @@ -31,6 +31,9 @@ "gradle" ], "license": "MIT", + "engines": { + "node": ">=24.0.0" + }, "dependencies": { "@actions/artifact": "2.3.2", "@actions/cache": "4.0.5", diff --git a/wrapper-validation/action.yml b/wrapper-validation/action.yml index 117fb54b..6f9d6036 100644 --- a/wrapper-validation/action.yml +++ b/wrapper-validation/action.yml @@ -21,7 +21,7 @@ outputs: description: 'The path of the Gradle Wrapper(s) JAR that failed validation. Path is a platform-dependent relative path to git repository root. Multiple paths are separated by a | character.' runs: - using: 'node20' + using: 'node24' main: '../dist/wrapper-validation/main/index.js' branding: