primakov
5da3dddc2c
Some checks failed
gitea-bro-js/journal.pl/pipeline/head There was a failure building this commit
30 lines
363 B
Groovy
30 lines
363 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'
|
|
}
|
|
}
|
|
}
|
|
// }
|