journal.pl/Jenkinsfile
primakov 719a5e9930
Some checks failed
gitea-bro-js/journal.pl/pipeline/pr-master There was a failure building this commit
gitea-bro-js/journal.pl/pipeline/head There was a failure building this commit
bro/pipeline/head Build started...
bro/pipeline/pr-master This commit looks good
platform/bro/pipeline/head There was a failure building this commit
#7 check
2024-03-29 11:49:40 +03:00

30 lines
357 B
Groovy

pipeline {
agent {
docker {
image 'node:18'
}
}
stages {
stage('install') {
steps {
sh 'node -v'
sh 'npm -v'
sh 'npm ci'
}
}
stage('eslint') {
steps {
sh 'npm run eslint'
}
}
stage('build') {
steps {
sh 'npm run build:prod'
}
}
}
}