From d3a125acba97b0c5cdc58f4629b546d25610b7eb Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 28 Nov 2022 23:54:28 +0000 Subject: [PATCH] Jenkinsfile now uses brew to install correct version of node. --- Jenkinsfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d31fb79..67b0260 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,11 +6,7 @@ pipeline { stages { stage("install") { steps { - sh 'curl -fsSL https://fnm.vercel.app/install | bash' - sh 'fnm install' - sh ''' - echo 'eval "$(fnm env --use-on-cd)"' >> ~/.bashrc - ''' + sh 'brew install node@16' sh 'npm install' } }