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 committed Dec 9, 2024
1 parent 97debbc commit 52ef9b0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 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

0 comments on commit 52ef9b0

Please sign in to comment.