mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-04-27 12:24:06 +00:00
21 lines
615 B
Groovy
21 lines
615 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Packaging') {
|
|
agent {
|
|
docker {
|
|
image 'cerc-io/foundation_node16:jenkinscicd'
|
|
}
|
|
}
|
|
|
|
steps {
|
|
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 'lerna publish from-package --no-git-tag-version --yes'
|
|
}
|
|
}
|
|
}
|
|
} |