diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6987a9b..6e24795 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,10 @@ jobs: id: checkout uses: actions/checkout@v4 - - name: Ensure node v20 or greater + - name: Ensure node v20.9.0 or greater uses: actions/setup-node@v4 with: - node-version: '>=20' + node-version: '>=20.9.0' - name: Ensure java v11 or greater uses: actions/setup-java@v4 with: diff --git a/.node-version b/.node-version index 1cc433a..f3f52b4 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.6.0 +20.9.0 diff --git a/README.md b/README.md index 7c0cc7c..068f116 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ This `run-code-analyzer@v2` action won't exit your GitHub workflow when it finds ## Environment Prerequisites The [Salesforce Code Analyzer v5.x (Beta)](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. So we recommend that you set up your GitHub runner(s) with this software: -* `node` version 20 or greater +* `node` version 20.9.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. @@ -61,10 +61,10 @@ The [Salesforce Code Analyzer v5.x (Beta)](https://developer.salesforce.com/docs uses: actions/checkout@v4 # PREREQUISITES - Only needed if runner doesn't already satisfy these requirements - - name: Ensure node v20 or greater + - name: Ensure node v20.9.0 or greater uses: actions/setup-node@v4 with: - node-version: '>=20' + node-version: '>=20.9.0' - name: Ensure java v11 or greater uses: actions/setup-java@v4 with: diff --git a/package-lock.json b/package-lock.json index c6813e1..717e708 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "typescript": "^5.7.3" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" } }, "node_modules/@actions/artifact": { diff --git a/package.json b/package.json index 88852cb..131e78d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ ".": "./dist/index.js" }, "engines": { - "node": ">=20" + "node": ">=20.9.0" }, "scripts": { "bundle": "npm run format:write && npm run package",