Install nodeJS into Jenkins

This commit is contained in:
Tom Butcher 2025-06-01 20:53:35 +01:00
parent 4b8f899629
commit 0ec9ee4a04

8
Jenkinsfile vendored
View File

@ -6,6 +6,14 @@ pipeline {
}
stages {
stage('Setup Node.js') {
steps {
nodejs(nodeJSInstallationName: 'NodeJS 20') {
sh 'node -v'
}
}
}
stage('Install Dependencies') {
steps {
sh 'npm ci'