Skip to content

Commit

Permalink
feat: support node 22+ (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrkruk authored Dec 6, 2024
1 parent 11bd86d commit ea9b60f
Show file tree
Hide file tree
Showing 5 changed files with 760 additions and 5,705 deletions.
26 changes: 26 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# CI Info

[Github Workflows Readme](https://github.com/salesforcecli/github-workflows)

## Releasing a new version

[Release Workflow](https://github.com/salesforcecli/plugin-lightning-dev/actions/workflows/create-github-release.yml)

## Node Version Configuration

This repository provides flexibility to manage Node.js versions in CI workflows using repository variables.
These variables can be configured at the repository level via the [Actions settings page](https://github.com/salesforcecli/plugin-lightning-dev/settings/variables/actions).
These can also be supplied as arguments to individual workflows directly.

### `UT_DISABLE_NODE_CURRENT`

- Disables the latest Node.js version in GitHub Actions workflows.

### `UT_DISABLE_NODE_PREVIOUS`

- Disables the previous Node.js version in GitHub Actions workflows.

### `NODE_VERSION_OVERRIDE`

- Overrides the full set of Node.js versions used for testing and publishing.
- **Default:** `'lts/*'` and `'lts/-1'`.
1 change: 0 additions & 1 deletion .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,5 @@ jobs:
sign: true
tag: ${{ needs.getDistTag.outputs.tag || (needs.getMajorVersion.outputs.major == '1') && 'latest' || 'next' }}
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
nodeVersion: 20.18.0

secrets: inherit
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ jobs:
fail-fast: false
with:
os: ${{ matrix.os }}
nodeVersion: 20.18.0
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@inquirer/select": "^2.4.7",
"@lwc/lwc-dev-server": "^11.1.0",
"@lwc/sfdc-lwc-compiler": "^11.1.0",
"@lwrjs/api": "0.15.0-alpha.44",
"@lwrjs/api": "0.15.6",
"@oclif/core": "^4.0.30",
"@salesforce/core": "^8.6.2",
"@salesforce/kit": "^3.1.6",
Expand All @@ -18,7 +18,6 @@
"axios": "^1.7.7",
"glob": "^10.4.5",
"lwc": "^8.10.1",
"lwr": "0.15.0-alpha.44",
"node-fetch": "^3.3.2"
},
"devDependencies": {
Expand All @@ -34,7 +33,7 @@
"typescript": "^5.5.4"
},
"engines": {
"node": ">=18.0.0 <23"
"node": ">=18.0.0"
},
"files": [
"/lib",
Expand Down
Loading

0 comments on commit ea9b60f

Please sign in to comment.