mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-05-03 14:14:09 +00:00
search for the Jenkins Way
This commit is contained in:
parent
b68cac1d38
commit
42edcf9d39
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -10,15 +10,16 @@ pipeline {
|
||||
}
|
||||
|
||||
environment {
|
||||
NODE_AUTH_TOKEN = "${ GITHUB_BASTION_PAT }"
|
||||
NODE_AUTH_TOKEN = credentials('GITHUB_BASTION_PAT')
|
||||
GITEA_JENKINS_PUBLISH = credentials('GITEA_JENKINS_PUBLISH')
|
||||
}
|
||||
|
||||
steps {
|
||||
sh "npm config set -- \"//npm.pkg.github.com/:_authToken\" \"${ GITHUB_BASTION_PAT }\""
|
||||
sh "npm config set -- \"//npm.pkg.github.com/:_authToken\" \"$NODE_AUTH_TOKEN\""
|
||||
sh 'yarn'
|
||||
sh 'yarn build'
|
||||
sh 'npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/'
|
||||
sh "npm config set -- \"//git.vdb.to/api/packages/cerc-io/npm/:_authToken\" \"${ GITEA_JENKINS_PUBLISH }\""
|
||||
sh "npm config set -- \"//git.vdb.to/api/packages/cerc-io/npm/:_authToken\" \"$GITEA_JENKINS_PUBLISH\""
|
||||
sh 'lerna publish from-package --no-git-tag-version --yes'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user