Add lint stage to Jenkins pipeline
seat-back-trivia/pipeline/head This commit looks good
seat-back-trivia/pipeline/pr-main This commit looks good

This commit is contained in:
2026-10-23 21:57:50 +00:00
parent e8a63533b5
commit 8bee2be487
Vendored
+5 -1
View File
@@ -20,7 +20,11 @@ pipeline {
sh 'npm ci' sh 'npm ci'
} }
} }
stage('Lint') {
steps {
sh 'npm run lint'
}
}
stage('Test') { stage('Test') {
steps { steps {
sh 'npm test' sh 'npm test'