Add lint stage to Jenkins pipeline
This commit is contained in:
Vendored
+5
-1
@@ -20,7 +20,11 @@ pipeline {
|
||||
sh 'npm ci'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Lint') {
|
||||
steps {
|
||||
sh 'npm run lint'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'npm test'
|
||||
|
||||
Reference in New Issue
Block a user