From 0ec9ee4a0444d736ea58ce02d364841e85133330 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 1 Jun 2025 20:53:35 +0100 Subject: [PATCH] Install nodeJS into Jenkins --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 57c10a0..bee0a9a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'