Skip to content

Commit 52ef9b0

Browse files
committed
feat: support node 22+ (#282)
1 parent 97debbc commit 52ef9b0

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

.github/README.md

Lines changed: 26 additions & 0 deletions
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

0 commit comments

Comments
 (0)