Skip to content

ci: pin publish workflow to minimum supported Node version#113

Merged
iamfj merged 1 commit intomainfrom
ci/pin-publish-node-version
Apr 8, 2026
Merged

ci: pin publish workflow to minimum supported Node version#113
iamfj merged 1 commit intomainfrom
ci/pin-publish-node-version

Conversation

@iamfj
Copy link
Copy Markdown
Member

@iamfj iamfj commented Apr 8, 2026

Summary

Pin the publish workflow to Node 22 (the minimum supported version) and prevent Renovate from bumping it.

Motivation

PR #106 proposes upgrading the publish workflow from Node 22 → 24. However, the publish workflow should use the minimum supported version (engines.node >= 22.0.0) to ensure maximum compatibility for all users. The CI matrix already validates both Node 22 and 24, so there is no need to also publish on 24.

Publishing with a newer Node/npm version can introduce subtle differences in package artifacts that may not be compatible with the minimum supported runtime.

Changes

  • .github/workflows/publish.yml: Added a comment clarifying the intentional pin to Node 22
  • renovate.json: Added a package rule to disable Renovate updates of the Node version in the publish workflow

Related

Refs #106 — once this is merged, #106 can be closed.

The publish workflow should use Node 22 (the minimum supported version
per engines.node >=22.0.0) to ensure maximum compatibility for all
users. The CI matrix already validates both Node 22 and 24.

Also adds a Renovate package rule to prevent automated bumps of the
Node version in the publish workflow.

Refs #106
@iamfj iamfj merged commit ff67a32 into main Apr 8, 2026
7 checks passed
@iamfj iamfj deleted the ci/pin-publish-node-version branch April 8, 2026 12:51
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