chore: update node engine requirement and add node 22 ci tests#22
Merged
Conversation
frostevent
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lower the supported Node floor from
>=24to>=22(the oldest maintained LTS) andverify it with a Node 22 + 24 CI test matrix.
@types/nodestays on the active LTS(24); the runtime floor is now guarded by CI rather than the type version.
Changes
engines.node:>=24.0.0→>=22.0.0@sd-jwt/*requires Node 20+, so 22 clears it.>=22is a lower bound, not a pin — it still allows 24/26+ and never blocks newerruntimes.
@types/nodestays^24(dev / active-LTS line). Pinning it to the floor is notneeded because the matrix below verifies the floor at runtime.
CI: Node 22 + 24 test matrix
testjob intotest-matrix(runsyarn teston Node 22 and 24) and anaggregate
testgate (needs: test-matrix,if: always()).testfor the branch ruleset, sothe matrix legs (
test (22)/test (24)) don't need to be enumerated in branchprotection.
always()makes a cancelled leg fail the gate rather than pass silently..node-version.Docs
CLAUDE.mdRule 5: rewritten for the floor-22 + matrix-guard model, including theinvariant that the
test-matrixlow leg must equal theengines.nodefloor.CONTRIBUTING.md: requirement now>=22(published floor) with dev on Node 24, plusa note documenting the CI matrix.
Deps
typescript-eslint ^8.61.1 → ^8.62.0(lockfile refresh).Test plan
testruns on Node 22 and 24; format / lint / typecheck / build / publint on 24.yarn check-allclean;node --test test/*.test.mjspasses on Node 24.