Repository navigation
ci: publish on Node 22, not 24 - #7
Merged
Merged
Conversation
The first trusted-publishing run failed before it ever reached npm publish: better-sqlite3 11.10.0 ships no prebuilt binary for Node 24 (ABI 137), so `npm ci` left the native module unbuilt and `npm run fixture` threw "Could not locate the bindings file". I took 24 from npm's trusted-publishing docs example without checking it against this package's native dependency. ci.yml tests 18/20/22; the release job now uses 22, the newest version actually exercised. npm@latest still gets installed for OIDC support (it needs Node ^22.22.2, which setup-node's "22" satisfies), and node/npm versions are echoed so the next runner-image change is diagnosable from the log. The OIDC configuration itself was never reached and remains unverified. Claude-Session: https://claude.ai/code/session_01LMbjcZogpv9EbVnqovXpSX
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.
The first trusted-publishing run failed before reaching
npm publish.Cause:
better-sqlite311.10.0 ships no prebuilt binary for Node 24 (ABI 137), sonpm cileft the native module unbuilt andnpm run fixturethrewCould not locate the bindings file. I took Node 24 from npm's docs example without checking it against this package's native dependency —ci.ymlonly ever tests 18/20/22.The release job now uses Node 22, the newest version CI actually exercises.
npm@latestis still installed for OIDC support (it requires Node^22.22.2, which setup-node's22satisfies), and node/npm versions are echoed so the next runner-image change is diagnosable from the log alone.The OIDC configuration itself was never reached and is still unverified. Re-tagging v2.1.1 onto this fix is the actual test.
Follow-up, not here: bumping better-sqlite3 to 13.x would unblock Node 24, but that is a dependency upgrade with its own risk and does not belong in a release-pipeline fix.
https://claude.ai/code/session_01LMbjcZogpv9EbVnqovXpSX