From 1f5418faf044bf1e5fb3823709dc54fcd4641a62 Mon Sep 17 00:00:00 2001 From: Nikhil Mittal Date: Fri, 5 Jun 2026 16:52:18 +0530 Subject: [PATCH] node-24-migration --- .github/workflows/ci.yml | 4 ++-- .node-version | 2 +- README.md | 6 +++--- action.yml | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4e5e97..86d9cae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,10 +53,10 @@ jobs: id: checkout uses: actions/checkout@v5 - - name: Ensure node v20.9.0 or greater + - name: Ensure node v24.0.0 or greater uses: actions/setup-node@v5 with: - node-version: '>=20.9.0' + node-version: '>=24.0.0' - name: Ensure java v11 or greater uses: actions/setup-java@v5 with: diff --git a/.node-version b/.node-version index f3f52b4..51105aa 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.9.0 +24.0.0 diff --git a/README.md b/README.md index 96aa2ab..1166e45 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ This `run-code-analyzer@v2` action doesn't exit your GitHub workflow when it fin ## Environment Prerequisites The [Salesforce Code Analyzer v5.x](https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/code-analyzer.html) and its bundled engines can each have their own set of requirements in order to run successfully. We recommend that you set up your GitHub runner(s) with this software: -* `node` version 20.9.0 or greater +* `node` version 24.0.0 or greater * Required by all engines. * `java` version 11 or greater * Required by some engines, such as `pmd` and `cpd`, unless those engines have been explicitly disabled in your `code-analyzer.yml` configuration file. @@ -91,10 +91,10 @@ The [Salesforce Code Analyzer v5.x](https://developer.salesforce.com/docs/platfo uses: actions/checkout@v5 # PREREQUISITES - Only needed if the runner doesn't already satisfy these requirements. - - name: Ensure node v20.9.0 or greater + - name: Ensure node v24.0.0 or greater uses: actions/setup-node@v5 with: - node-version: '>=20.9.0' + node-version: '>=24.0.0' - name: Ensure java v11 or greater uses: actions/setup-java@v5 with: diff --git a/action.yml b/action.yml index 92189e2..60c4ad9 100644 --- a/action.yml +++ b/action.yml @@ -65,5 +65,5 @@ outputs: description: If this action created a pull request review, this is its ID. runs: - using: node20 + using: node24 main: dist/index.js diff --git a/package.json b/package.json index 2032c6e..972aa0c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ ".": "./dist/index.js" }, "engines": { - "node": ">=20.9.0" + "node": ">=24.0.0" }, "scripts": { "build": "npm run package",