inzynieria_frontend/Jenkinsfile
s464930 b9d5592f0f
Some checks reported errors
Cat or Not - frontend/inzynieria_frontend/pipeline/head Something is wrong with the build of this commit
npm for prod
2021-12-10 22:46:13 +01:00

21 lines
294 B
Groovy

pipeline {
agent {
docker {
image 'node'
}
}
environment {
HOME = '.'
}
stages {
stage('Build') {
steps {
sh 'npm install -- production'
sh 'npm run build'
sh 'npm run start'
}
}
}
}