Skip to content

ci: add npm publish workflow on GitHub release#2

Merged
spideystreet merged 1 commit intomainfrom
feat/release-workflow
Mar 10, 2026
Merged

ci: add npm publish workflow on GitHub release#2
spideystreet merged 1 commit intomainfrom
feat/release-workflow

Conversation

@spideystreet
Copy link
Copy Markdown
Contributor

Summary

  • Add release workflow that triggers when a GitHub release is published
  • Runs lint + test + build before publishing to npm
  • Uses --provenance for supply chain security
  • Requires NPM_TOKEN secret in repo settings

Usage

  1. Add NPM_TOKEN secret in repo Settings > Secrets
  2. Create a GitHub release with tag v0.1.0
  3. Workflow publishes @opensource-together/mcp to npm automatically

Test plan

  • Workflow syntax validated
  • First real publish after adding NPM_TOKEN secret

Triggers on published releases, runs lint + test + build,
then publishes to npm with provenance.
Requires NPM_TOKEN secret in repo settings.
@spideystreet spideystreet merged commit 3dad328 into main Mar 10, 2026
1 check passed
@spideystreet spideystreet deleted the feat/release-workflow branch March 10, 2026 16:48
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