diff --git a/Jenkinsfile b/Jenkinsfile index fb52c07efb..acb14492bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,8 +22,7 @@ node ('macos1') { sh 'rm -rf node_modules' sh 'cp .env.jenkins .env' - sh 'lein deps' - sh 'npm install' + sh 'lein deps && npm install' sh '[ -f node_modules/react-native/packager/src/JSTransformer/index.js ] && sed -i "" "s/301000/1201000/g" node_modules/react-native/packager/src/JSTransformer/index.js || echo "New packager"' // Fix silly RN upgrade weird env issue @@ -31,6 +30,7 @@ node ('macos1') { sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'cd ios && pod install && cd ..' + sh 'npm install' } stage('Tests') {