Skip to content

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.

4 participants