Skip to content

ci: unify publish — canary on push, release via dispatch#9

Merged
bntvllnt merged 1 commit intomainfrom
ci/fix-publish-workflow
Mar 27, 2026
Merged

ci: unify publish — canary on push, release via dispatch#9
bntvllnt merged 1 commit intomainfrom
ci/fix-publish-workflow

Conversation

@bntvllnt
Copy link
Copy Markdown
Contributor

Summary

  • Replaces broken canary.yml + old publish.yml with unified workflow
  • Matches convex-api-keys publish pattern exactly

How it works

Trigger Job What happens
Push to main (src/package.json changes) canary Quality gates → publish x.y.z-canary.{sha7} to npm @canary tag
workflow_dispatch with bump type release Quality gates → version bump → commit + tag → npm publish @latest → GitHub Release

What changed

  • canary.yml deleted (was broken — ENEEDAUTH)
  • publish.yml rewritten with 3 jobs: qualitycanary (push) / release (dispatch)
  • Both paths use OIDC provenance
  • Release job needs RELEASE_PAT secret for pushing tags to main

Test plan

  • Verify canary publishes after merge (check npm info @vllnt/convex-mcp@canary)
  • Verify workflow_dispatch works (manual trigger in Actions tab)

Replaces broken canary.yml + old release-triggered publish.yml with
unified publish.yml matching convex-api-keys pattern:

- Push to main (src/package.json changes) → quality gates → canary publish
- workflow_dispatch with bump type → quality → version bump → tag → npm publish → GitHub release
- Removes separate canary.yml (consolidated into publish.yml)
- OIDC provenance for both canary and release paths
@bntvllnt bntvllnt merged commit f6785fb into main Mar 27, 2026
2 checks passed
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