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

fix: set npm config to read NPM_AUTH_TOKEN #923

merged 1 commit into from Sep 10, 2020

Conversation

@eunjae-lee
Copy link
Collaborator

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

After multiple tries, 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
2 checks passed
2 checks passed
Semantic Pull Request ready to be squashed
Details
ci/circleci: test Your tests passed on CircleCI!
Details
@eunjae-lee eunjae-lee deleted the fix/publish-token branch Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.