Skip to content

Commit ea9b60f

Browse files
authored
feat: support node 22+ (#282)
1 parent 11bd86d commit ea9b60f

File tree

5 files changed

+760
-5705
lines changed

5 files changed

+760
-5705
lines changed

.github/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# CI Info
2+
3+
[Github Workflows Readme](https://github.com/salesforcecli/github-workflows)
4+
5+
## Releasing a new version
6+
7+
[Release Workflow](https://github.com/salesforcecli/plugin-lightning-dev/actions/workflows/create-github-release.yml)
8+
9+
## Node Version Configuration
10+
11+
This repository provides flexibility to manage Node.js versions in CI workflows using repository variables.
12+
These variables can be configured at the repository level via the [Actions settings page](https://github.com/salesforcecli/plugin-lightning-dev/settings/variables/actions).
13+
These can also be supplied as arguments to individual workflows directly.
14+
15+
### `UT_DISABLE_NODE_CURRENT`
16+
17+
- Disables the latest Node.js version in GitHub Actions workflows.
18+
19+
### `UT_DISABLE_NODE_PREVIOUS`
20+
21+
- Disables the previous Node.js version in GitHub Actions workflows.
22+
23+
### `NODE_VERSION_OVERRIDE`
24+
25+
- Overrides the full set of Node.js versions used for testing and publishing.
26+
- **Default:** `'lts/*'` and `'lts/-1'`.

.github/workflows/onRelease.yml

-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@ jobs:
4949
sign: true
5050
tag: ${{ needs.getDistTag.outputs.tag || (needs.getMajorVersion.outputs.major == '1') && 'latest' || 'next' }}
5151
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
52-
nodeVersion: 20.18.0
5352

5453
secrets: inherit

.github/workflows/test.yml

-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ jobs:
2626
fail-fast: false
2727
with:
2828
os: ${{ matrix.os }}
29-
nodeVersion: 20.18.0

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"@inquirer/select": "^2.4.7",
1010
"@lwc/lwc-dev-server": "^11.1.0",
1111
"@lwc/sfdc-lwc-compiler": "^11.1.0",
12-
"@lwrjs/api": "0.15.0-alpha.44",
12+
"@lwrjs/api": "0.15.6",
1313
"@oclif/core": "^4.0.30",
1414
"@salesforce/core": "^8.6.2",
1515
"@salesforce/kit": "^3.1.6",
@@ -18,7 +18,6 @@
1818
"axios": "^1.7.7",
1919
"glob": "^10.4.5",
2020
"lwc": "^8.10.1",
21-
"lwr": "0.15.0-alpha.44",
2221
"node-fetch": "^3.3.2"
2322
},
2423
"devDependencies": {
@@ -34,7 +33,7 @@
3433
"typescript": "^5.5.4"
3534
},
3635
"engines": {
37-
"node": ">=18.0.0 <23"
36+
"node": ">=18.0.0"
3837
},
3938
"files": [
4039
"/lib",

0 commit comments

Comments
 (0)