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 {
|
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user