Skip to content

Commit

Permalink
fix(ci): fix incorrect reference to npm credentials
Browse files Browse the repository at this point in the history
Correct the token used to populated NPM_TOKEN.
The npm token was pulling the github token, which is used for publishing
to github packages rather than the public npm registry

Semver: patch
  • Loading branch information
esatterwhite committed Feb 9, 2021
1 parent d07807b commit 7ab073c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pipeline {

environment {
GITHUB_TOKEN = credentials('github-api-token')
NPM_TOKEN = credentials('github-api-token')
NPM_TOKEN = credentials('npm-publish-token')
NPM_CONFIG_CACHE = '.npm'
NPM_CONFIG_USERCONFIG = '.npm/rc'
SPAWN_WRAP_SHIM_ROOT = '.npm'
Expand Down

0 comments on commit 7ab073c

Please sign in to comment.