journal.pl/Jenkinsfile
primakov 6b0b8ffebc
Some checks failed
platform/gitea-bro-js/journal.pl/pipeline/head There was a failure building this commit
platform/gitea-bro-js/journal.pl/pipeline/pr-master There was a failure building this commit
#7 check
2024-03-29 13:13:23 +03:00

30 lines
352 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'
}
}
}
}