Merge remote-tracking branch 'origin/master'

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-04-10 00:40:28 +03:00
commit a3b99ccd20

14
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline {
agent {
docker {
image 'node:14'
image 'node:18'
}
}
@ -10,19 +10,25 @@ pipeline {
steps {
sh 'node -v'
sh 'npm -v'
sh 'npm install'
sh 'npm ci'
}
}
stage('eslint') {
steps {
sh 'npm run eslint'
sh 'npm run eslint || npm run lint'
}
}
stage('test') {
steps {
sh 'npm t'
}
}
stage('build') {
steps {
sh 'npm run build'
sh 'npm run build:prod'
}
}