Skip to content

chore: release via GitHub Actions with staged publishing - #81

Merged
yusukebe merged 3 commits into
mainfrom
chore/release-workflow
Aug 5, 2026
Merged

chore: release via GitHub Actions with staged publishing#81
yusukebe merged 3 commits into
mainfrom
chore/release-workflow

Conversation

@yusukebe

@yusukebe yusukebe commented Aug 5, 2026

Copy link
Copy Markdown
Member

Add a release workflow like honojs/hono: on tag push, it runs npm stage publish --provenance with trusted publishing (OIDC). A maintainer then approves the staged package on npmjs.com.

The release script is now np --no-publish, same as honojs/hono. np handles the version bump, tag, push, and GitHub release. Publishing happens only in CI, so np no longer hits the OTP prompt. Release steps are in AGENTS.md.

Before merging: add honojs/cli + release.yml as a trusted publisher for @hono/cli on npmjs.com.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • pnpm run format:fix && pnpm run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@yusukebe
yusukebe merged commit ea00338 into main Aug 5, 2026
4 checks passed
@yusukebe
yusukebe deleted the chore/release-workflow branch August 5, 2026 08:43
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