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: set npm config to read NPM_AUTH_TOKEN #923

Merged
merged 1 commit into from Sep 10, 2020
Merged

Conversation

eunjae-lee
Copy link
Contributor

@eunjae-lee eunjae-lee commented Sep 10, 2020

After multiple tries (since #919 which was a failure), I've found that this line needs to be inside ~/.npmrc in order to read NPM_AUTH_TOKEN environment variable when npm publish is called.

registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}

I feel like npm publish never worked before, meaning all of the Ship.js users use yarn?

@eunjae-lee eunjae-lee merged commit 1c935a3 into main Sep 10, 2020
@eunjae-lee eunjae-lee deleted the fix/publish-token branch September 10, 2020 14:10
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.

None yet

1 participant