Skip to content

ci: test on the latest stable Node only #211

Closed

Description

@thomasfosterau

Context

Owner decision (2026-10-03): to make CI faster and more current, every repository tests on one Node version, the latest stable (node-version: latest, which is Node 26 today). The website, gardeneria, preferenceflow, in-the-dark, effect-drizzle-ext, effect-web, reference-manager and pulpit repositories already do this. This repository pins CI to Node 22.

Scope

  • Switch every CI and Release setup-node / setup-action node-version in .github/ to latest.
  • Collapse the [20.x, 22.x] matrix in .github/workflows/ci.yml (around line 36) to a single job on latest, removing the 20.x-only steps (around lines 70-79) and the 22.x-only audit condition (around line 102). Update the header comment about required checks.
  • Owner action: the main ruleset requires the checks "Lint, type-check, build & test (20.x)" and "(22.x)". Rename them in the ruleset when this lands, or every PR will be blocked.
  • Leave engines.node in published packages unchanged. This is CI-only, so no changeset is needed.
  • Fix anything that genuinely breaks on Node 26 within this repository. File anything larger as its own issue.

Done when

  • CI runs once, on Node latest, and is green.
  • No workflow still pins 20.x or 22.x.

Labelling

Agent-ready.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions