Skip to content

fix(ci): override release node-version to 22.x + bump engines to >=22 - #96

Merged
nmccready merged 1 commit into
mainfrom
fix/release-node-version
Jul 15, 2026
Merged

fix(ci): override release node-version to 22.x + bump engines to >=22#96
nmccready merged 1 commit into
mainfrom
fix/release-node-version

Conversation

@nmccready

Copy link
Copy Markdown
Collaborator

Problem

The release workflow fails because sort-package-json@4.0 requires Object.groupBy (Node 22+), but the reusable release.yml from brickhouse-tech/.github defaults to Node 20.x.

Error: Object.groupBy is not a function

Fix

  1. Explicitly set node-version: '22.x' in the release workflow call
  2. Bump engines.node in package.json from >=20 to >=22 to match reality
  3. (Already pushed) Fixed the reusable workflow default in brickhouse-tech/.github: 20.x -> 22.x + setup-node@v3 -> v4

Affected Releases

The last 3 merges (PR #93, #94, #95) all failed to release. Merging this PR should trigger a successful release + publish.

The reusable release workflow from brickhouse-tech/.github defaults to
Node 20.x, but sort-package-json@4.0 and other updated deps require
Node 22+ (Object.groupBy). Override node-version to 22.x explicitly.
Also bump package.json engines field to match reality.
@nmccready
nmccready enabled auto-merge July 15, 2026 03:59
@nmccready
nmccready merged commit 52c9674 into main Jul 15, 2026
9 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