Skip to content

👷 ci: publish to npm, the GitHub release and the MCP Registry on a version tag - #4

Merged
msikorski26 merged 1 commit into
masterfrom
ci/release
Nov 29, 2026
Merged

msikorski26 merged 1 commit into
masterfrom
ci/release

Conversation

@msikorski26

Copy link
Copy Markdown
Member

What

.github/workflows/release.yml, started by a vX.Y.Z tag (not the moving v1 action tag) or by hand for an existing tag:

  1. checks the tag against package.json and server.json
  2. runs typecheck, tests and build (prepublishOnly)
  3. npm publish --provenance through npm trusted publishing (OIDC, no token)
  4. creates the GitHub release with generated notes
  5. calls mcp-registry.yml, now a reusable workflow, because a release made with GITHUB_TOKEN does not trigger release: published

Needs

A trusted publisher on npmjs.com for this package: GitHub Actions, this repo, workflow release.yml.

…rsion tag

- runs on vX.Y.Z tags, or by hand for an existing tag; the moving v1 tag is ignored
- checks the tag against package.json and server.json, then tests, build and publish
- npm trusted publishing with provenance, no token stored
- calls mcp-registry.yml after npm publish, since a GITHUB_TOKEN release
  does not trigger other workflows
@msikorski26
msikorski26 merged commit 9ffb821 into master Nov 29, 2026
3 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