Add lint stage to Jenkins CI pipeline #9

Open
natalie wants to merge 2 commits from jenkins-lint into main
Showing only changes of commit 8bee2be487 - Show all commits
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'