Skip to content

chore(ci): add release and promote GitHub workflows#954

Merged
christso merged 1 commit intomainfrom
chore/ci-release-workflows
Apr 6, 2026
Merged

chore(ci): add release and promote GitHub workflows#954
christso merged 1 commit intomainfrom
chore/ci-release-workflows

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 6, 2026

Summary

  • Release workflow (release.yml): Triggers on v* tag push. Builds, publishes all packages to npm next channel, then creates a GitHub Release with auto-generated release notes.
  • Promote workflow (promote.yml): Manual dispatch. Promotes a version from next to latest dist-tag. Accepts optional version input (defaults to package.json version).

Both workflows use NPM_TOKEN secret for npm auth (generated dynamically as .npmrc — not committed).

Setup required

  1. Add NPM_TOKEN to GitHub repo secrets (Settings > Secrets > Actions)
    • Generate from npmjs.com: Access Tokens > Generate New Token > Automation

Release flow

bun run release          # bumps version, creates v* tag, pushes
# → release.yml triggers automatically → publishes to npm next
# verify on npm, then:
gh workflow run promote.yml   # or use Actions UI to promote to latest

Test plan

  • Add NPM_TOKEN secret to the repo
  • Run bun run release to create a tag and verify the release workflow triggers
  • Verify packages appear on npm with next tag
  • Run promote workflow from Actions UI and verify latest tag updates

🤖 Generated with Claude Code

Release workflow triggers on v* tag push — builds, publishes to npm
next channel, and creates a GitHub release. Promote workflow is manual
dispatch to move a version from next to latest dist-tag.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: fbb7acf
Status: ✅  Deploy successful!
Preview URL: https://1a399fad.agentv.pages.dev
Branch Preview URL: https://chore-ci-release-workflows.agentv.pages.dev

View logs

@christso christso merged commit 7698429 into main Apr 6, 2026
4 checks passed
@christso christso deleted the chore/ci-release-workflows branch April 6, 2026 05:39
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