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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: let npm fetch the npm_token for us #1974

Merged
1 commit merged into from
Jun 8, 2021
Merged

chore: let npm fetch the npm_token for us #1974

1 commit merged into from
Jun 8, 2021

Conversation

ghost
Copy link

@ghost ghost commented May 27, 2021

Follow NPMs suggestion to provide ${NPM_TOKEN} as a literal in .npmrc which it can then replace at runtime with the current environment variable in CI.

https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow#create-and-check-in-a-project-specific-npmrc-file

Though, just above those docs, I noticed it can also pick up NPM_TOKEN automatically even without that line 馃

https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow#set-the-token-as-an-environment-variable-on-the-cicd-server

@ghost ghost requested review from a team as code owners May 27, 2021 17:46
@ghost ghost requested a review from aviadhahami May 27, 2021 17:46
@github-actions
Copy link
Contributor

github-actions bot commented May 27, 2021

Messages
馃摉

This PR will not trigger a new version. It doesn't include any commit message with feat or fix.

Generated by 馃毇 dangerJS against 12052e8

@ghost ghost force-pushed the chore/npmrc-token branch from 9bc2b97 to 12052e8 Compare June 3, 2021 14:51
@ghost ghost merged commit ed0e45d into master Jun 8, 2021
@ghost ghost deleted the chore/npmrc-token branch June 8, 2021 12:46
Avishagp pushed a commit that referenced this pull request Jun 9, 2021
Avishagp added a commit that referenced this pull request Jun 9, 2021
smoke: get rid of changes from #1974 to fix broken test
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant