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

use npm config to set NPM auth token in github actions #172

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

deej-io
Copy link
Contributor

@deej-io deej-io commented Aug 5, 2024

The previous PR committed the .npmrc which means we now get publish errors that
it has uncommitted changes once the auth token is added in the CI. This
commit uses npm config set //<registry>:... to add the token to the
user config in order to keep the repository config clean.

What kind of change does your PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Refactor
  • Tests
  • Other, please describe:

Does your PR fulfill the following requirements?

  • The title references the corresponding issue # (if relevant)

The previous PR committed the .npmrc which means we now get publish errors that
it has uncommitted changes once the auth token is added in the CI. This
commit uses `npm config set //<registry>:...` to add the token to the
user config in order to keep the repository config clean.
@deej-io deej-io force-pushed the deej/fix-npm-auth branch from 5c59556 to 19976ee Compare August 5, 2024 13:15
@deej-io deej-io requested a review from MarcusLongmuir August 5, 2024 13:17
@deej-io deej-io merged commit 4934217 into main Aug 5, 2024
5 checks passed
@deej-io deej-io deleted the deej/fix-npm-auth branch August 5, 2024 13:45
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.

2 participants