Fixed build and ci steps

This commit is contained in:
Tom Butcher 2025-06-01 20:57:52 +01:00
parent 7fb90583fd
commit 7e89f32c5b

9
Jenkinsfile vendored
View File

@ -10,19 +10,24 @@ pipeline {
steps { steps {
nodejs(nodeJSInstallationName: 'Node23') { nodejs(nodeJSInstallationName: 'Node23') {
sh 'node -v' sh 'node -v'
sh 'npm -v'
} }
} }
} }
stage('Install Dependencies') { stage('Install Dependencies') {
steps { steps {
sh 'npm ci' nodejs(nodeJSInstallationName: 'Node23') {
sh 'npm ci'
}
} }
} }
stage('Build') { stage('Build') {
steps { steps {
sh 'npm run build' nodejs(nodeJSInstallationName: 'Node23') {
sh 'npm run build'
}
} }
} }