#7 feature/add-jenkins #9

Merged
primakov merged 11 commits from feature/add-jenkins into master 2024-03-29 13:33:38 +03:00
Showing only changes of commit 3dcb226c85 - Show all commits

29
Jenkinsfile vendored
View File

@ -0,0 +1,29 @@
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'
}
}
}
}