Files
Homepage/Jenkinsfile
Cameron Cordes bfbf08be63
Some checks failed
Core Repos/Homepage/pipeline/head There was a failure building this commit
Add Lint build stage
2020-04-18 12:51:12 -04:00

21 lines
424 B
Groovy

pipeline {
agent { docker { image 'node:13.10-alpine' } }
stages {
stage('setup') {
steps {
sh 'npm install'
}
}
stage('build') {
steps {
sh 'node_modules/.bin/ng build --prod'
}
}
stage('lint') {
steps {
sh 'node_modules/.bin/ng lint'
}
}
}
}