Compare commits

...
Author SHA1 Message Date
natalie 8bee2be487 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
2026-10-23 21:57:50 +00:00
natalie e8a63533b5 Add lint command for Jenkins CI
seat-back-trivia/pipeline/head This commit looks good
2026-10-23 21:42:45 +00:00
natalie 09b1730954 Merge pull request 'Add Jenkins CI pipeline and WebSocket test' (#8) from issue-5-jenkins-ci into main
seat-back-trivia/pipeline/head This commit looks good
Reviewed-on: #8
Reviewed-by: cedric <cpollefe@stevens.edu>
2026-10-23 20:10:59 +00:00
2 changed files with 7 additions and 2 deletions
Vendored
+5 -1
View File
@@ -20,7 +20,11 @@ pipeline {
sh 'npm ci'
}
}
stage('Lint') {
steps {
sh 'npm run lint'
}
}
stage('Test') {
steps {
sh 'npm test'
+2 -1
View File
@@ -3,7 +3,8 @@
"version": "1.0.0",
"private": true,
"description": "Minimal WebSocket quiz server for SeatBack Trivia",
"scripts": {
"scripts": {
"lint": "node --check server.js && node --check server.test.js",
"test": "node --test"
},
"dependencies": {