ci: update GitHub Actions workflows #6271
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR modernizes our GitHub Actions workflows by updating Node.js support matrix, Ubuntu runners, and Node version management configuration.
Changes
Node.js Version Updates
package.json
to.nvmrc
for Node version detectionRunner Updates
ubuntu-22.04
toubuntu-latest
across all workflowsWorkflow Optimizations
fail-fast: false
strategy configurationMotivation
ubuntu-latest
ensures we get security updates and latest tooling.nvmrc
consistency: Aligns with local development environment setupFiles Modified
.github/workflows/actions/get-core-dependencies/action.yml
.github/workflows/build.yml
.github/workflows/lint-and-format.yml
.github/workflows/release-dev.yml
.github/workflows/release-nightly.yml
.github/workflows/test-analysis.yml
.github/workflows/test-bundlers.yml
.github/workflows/test-component-starter.yml
.github/workflows/test-copytask.yml
.github/workflows/test-docs-build.yml
.github/workflows/test-e2e.yml
.github/workflows/test-types.yml
.github/workflows/test-unit.yml
.github/workflows/test-wdio.yml
Testing
All existing workflows will continue to function with the updated configurations. The test matrix changes will:
Breaking Changes
None for users, but CI will no longer test Node.js 16 and 18 compatibility.