Skip to content

Comments

feat: publish @metacall/protocol to GitHub npm registry#39

Open
miantalha45 wants to merge 1 commit intometacall:masterfrom
miantalha45:publish-to-github
Open

feat: publish @metacall/protocol to GitHub npm registry#39
miantalha45 wants to merge 1 commit intometacall:masterfrom
miantalha45:publish-to-github

Conversation

@miantalha45
Copy link

Currently, @metacall/protocol is only published to the public npm registry. This PR adds support for publishing to the GitHub npm registry as well, allowing tighter integration with the GitHub ecosystem and enabling package consumers within the organization to install it directly from GitHub Packages.

Changes:

Updated [ci.yml] to use https://npm.pkg.github.com as the registry and authenticate using the built-in GITHUB_TOKEN — no additional secrets required
Added [.npmrc] to scope @metacall packages to the GitHub registry
How it works:
Pushing a version tag will trigger the CI workflow, which builds, tests, and publishes the package to GitHub Packages automatically.

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