Jenkinsfile now uses brew to install correct version of node.

This commit is contained in:
Harrison Deng 2022-11-28 23:54:28 +00:00
parent d8090808ea
commit d3a125acba

6
Jenkinsfile vendored
View File

@ -6,11 +6,7 @@ pipeline {
stages { stages {
stage("install") { stage("install") {
steps { steps {
sh 'curl -fsSL https://fnm.vercel.app/install | bash' sh 'brew install node@16'
sh 'fnm install'
sh '''
echo 'eval "$(fnm env --use-on-cd)"' >> ~/.bashrc
'''
sh 'npm install' sh 'npm install'
} }
} }