diff --git a/.github/actions/build-dist/action.yml b/.github/actions/build-dist/action.yml index 63d086be..ab9478f0 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@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.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 5976a539..1e14cf1e 100644 --- a/sources/package-lock.json +++ b/sources/package-lock.json @@ -45,6 +45,9 @@ "prettier": "3.6.2", "ts-jest": "29.4.4", "typescript": "5.9.2" + }, + "engines": { + "node": ">=24.0.0" } }, "node_modules/@actions/artifact": { diff --git a/sources/package.json b/sources/package.json index c6f59344..72f58be1 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: