mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-04-27 12:24:06 +00:00
set PAT before yarn
This commit is contained in:
parent
8abcf7efc1
commit
077b279b87
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -14,6 +14,10 @@ pipeline {
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'npm config set -- "//npm.pkg.github.com/:_authToken" "${ GITHUB_BASTION_PAT }"'
|
||||
//sh 'echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc'
|
||||
//sh 'echo "registry=https://npm.pkg.github.com/" >> ~/.npmrc'
|
||||
//sh 'echo "always-auth=true" >> ~/.npmrc'
|
||||
sh 'yarn'
|
||||
sh 'yarn build'
|
||||
sh 'npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user