Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@W-17915287@ ci: update node to 20.9.0 for product consistency #68

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.6.0
20.9.0
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
"node": ">=20.9.0"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
Expand Down