Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: publishing authkit-node to NPM #51

Merged
merged 3 commits into from
Jan 31, 2025
Merged

fix: publishing authkit-node to NPM #51

merged 3 commits into from
Jan 31, 2025

Conversation

peterkuczera
Copy link
Member

@peterkuczera peterkuczera commented Jan 29, 2025

Drops the .npmrc file to fix authentication issues when publishing from GitHub Actions. The NPM token is already being passed to npm publish in the GitHub Action workflow, https://github.com/picahq/typescript-services/blob/main/.github/workflows/publish-authkit.yaml#L26

This also changes the workflow to only run when a tag is created with the authkit-node- prefix, e.g. authkit-node-1.0.1. This allows us to tag backend releases independently from authkit-node releases, which would fail unless the version number gets bumped in package.json.

@peterkuczera peterkuczera merged commit 10ab862 into main Jan 31, 2025
4 checks passed
@peterkuczera peterkuczera deleted the npm-publish-fixes branch January 31, 2025 15:26
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.

3 participants