mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-02-02 00:02:49 +00:00
fa5958f40f
Removed unknown sudo
23 lines
680 B
Plaintext
23 lines
680 B
Plaintext
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'node:16.13.1-alpine'
|
|
args '-u root:root'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Build Project') {
|
|
steps {
|
|
sh 'node --version'
|
|
sh 'apk add git yarn npm'
|
|
sh 'git config --global --add safe.directory /var/lib/jenkins/workspace/watcher-ts-testing'
|
|
sh 'npm config set registry https://git.vdb.to/api/packages/cerc-io/npm'
|
|
sh 'yarn'
|
|
sh 'yarn build'
|
|
sh 'npm install --g lerna'
|
|
sh 'lerna publish from-package --no-git-tag-version --yes'
|
|
}
|
|
}
|
|
}
|
|
}
|