Skip to content

ci: update GitHub Actions workflows #6271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

christian-bromann
Copy link
Member

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

  • Updated support matrix: Now supports Node.js 20, 22, and 24
  • Dropped support: Removed Node.js 16 and 18 from test matrix
  • Version source: Changed from package.json to .nvmrc for Node version detection

Runner Updates

  • Ubuntu version: Migrated from ubuntu-22.04 to ubuntu-latest across all workflows
  • Consistency: Standardized runner versions across build, test, and release workflows

Workflow Optimizations

  • Type tests: Removed unnecessary fail-fast: false strategy configuration

Motivation

  • Node.js 16 & 18: Both versions have reached or are approaching end-of-life
  • Node.js 24: Latest LTS version should be supported
  • Ubuntu latest: Using ubuntu-latest ensures we get security updates and latest tooling
  • .nvmrc consistency: Aligns with local development environment setup

Files 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:

  • ✅ Continue testing on Node.js 20 and 22 (existing coverage)
  • ✅ Add Node.js 24 testing (new coverage)
  • ⚠️ Remove Node.js 16 and 18 testing (intentional)

Breaking Changes

None for users, but CI will no longer test Node.js 16 and 18 compatibility.

- Update Node.js support matrix to 20, 22, 24 (drop 16 and 18)
- Migrate from ubuntu-22.04 to ubuntu-latest
- Switch node version source from package.json to .nvmrc
- Remove unnecessary fail-fast strategy from type tests
@christian-bromann christian-bromann requested a review from a team as a code owner May 30, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant