Jenkinsfile now uses brew to install correct version of node.
This commit is contained in:
parent
d8090808ea
commit
d3a125acba
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user