From 0b67327a92a32f4634698a900689799dca8aec0a Mon Sep 17 00:00:00 2001 From: Zheyuan Wu <60459821+Trance-0@users.noreply.github.com> Date: Thu, 20 Feb 2025 11:20:45 -0600 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c11220a..1a98966 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,9 +9,10 @@ pipeline { stages { stage('Test') { steps { - echo 'Testing..' - sh 'npm install' - sh 'npm run build' + nodejs(nodeJSInstallationName: 'NodeJS') { + sh 'npm install' + sh 'npm run build' + } } } stage('Build') {