Skip to content

Add NodeJS 26 and only build maintained versions in the main workflow - #412

Merged
mistraloz merged 1 commit into
thecodingmachine:v5from
mistraloz:feat/node-26
Oct 6, 2026
Merged

mistraloz merged 1 commit into
thecodingmachine:v5from
mistraloz:feat/node-26

Conversation

@mistraloz

Copy link
Copy Markdown
Collaborator

Summary

Add NodeJS 26 and align the main workflow on the versions still supported by their communities.

NodeJS & maintained versions

  • Add Node 26 images. NodeJS no longer bundles corepack since v25, so it is now installed with npm (fat node images and slim ONBUILD ARG NODE_VERSION).
  • The main workflow only builds maintained versions: PHP 8.2 to 8.5 with Node 22, 24 and 26.
  • PHP 8.1 (end of life) is only built by the manual legacy workflow.
  • Node 20 (end of life since 2026-04-30) is only built for legacy PHP versions (8.1, 8.0, .
  • README: Node 26 added to the supported versions table, and the test-node Makefile target now tests Node 22, 24 and 26.

Test plan

  • Node 26 fat image builds and passes variant-node.sh
  • Node 24 still builds (no regression on the corepack change)
  • Slim ONBUILD with NODE_VERSION=26 installs node and yarn
  • docker buildx bake --print: Node 20 targets only exist for PHP 8.1, 8.0 and 7.4

- Add Node 26 images; corepack is installed with npm since NodeJS no longer bundles it from v25
- Node 20 images (end of life since 2026-04-30) are only built for legacy PHP versions (8.1, 8.0, 7.4), by the legacy workflow
- Remove PHP 8.1 from the main workflow (still available in the legacy workflow)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mistraloz
mistraloz merged commit 5c5786f into thecodingmachine:v5 Oct 6, 2026
47 of 50 checks passed
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