Skip to content

Fix release workflow: use bun install, check version against registry#25

Merged
teallarson merged 1 commit intomainfrom
teallarson/hooks-refactor-followup
Mar 10, 2026
Merged

Fix release workflow: use bun install, check version against registry#25
teallarson merged 1 commit intomainfrom
teallarson/hooks-refactor-followup

Conversation

@teallarson
Copy link
Collaborator

Summary

  • Replaces npm ci (which required package-lock.json) with bun install, matching how the repo actually installs dependencies
  • Replaces git-tag-based version checking with a comparison against the published npm registry version — simpler and can't get out of sync
  • Drops the manual tag creation step; just creates a GitHub Release directly
  • Keeps OIDC trusted publishing (--provenance, no NPM_TOKEN needed)

Fixes the release pipeline failure from #23's merge where npm ci failed with no package-lock.json.

Test plan

  • Merge and verify the next package.json version bump triggers a successful publish

🤖 Generated with Claude Code

…istry

Replaces npm ci (which required package-lock.json) with bun install,
and replaces git-tag-based version checking with a simpler comparison
against the published npm version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@teallarson teallarson marked this pull request as ready for review March 10, 2026 19:58
@teallarson teallarson merged commit 594e7a8 into main Mar 10, 2026
@teallarson teallarson deleted the teallarson/hooks-refactor-followup branch March 10, 2026 19:58
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