From 7da50ae52a23f82b6b0041ea7ea6c9c871becffa Mon Sep 17 00:00:00 2001 From: Danny Skubak Date: Fri, 13 Apr 2018 12:33:49 -0400 Subject: [PATCH] Use Yarn in Jenkins Electron Builds (#1512) --- jenkins/Jenkinsfile.darwin | 2 +- jenkins/Jenkinsfile.darwin.ci | 2 +- jenkins/Jenkinsfile.linux.develop | 2 +- jenkins/Jenkinsfile.linux.master | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkins/Jenkinsfile.darwin b/jenkins/Jenkinsfile.darwin index 4d6dcfd4..496ba8fe 100644 --- a/jenkins/Jenkinsfile.darwin +++ b/jenkins/Jenkinsfile.darwin @@ -14,7 +14,7 @@ pipeline { } steps { sh 'rm -rf node_modules' - sh 'npm install' + sh 'yarn' } } stage('Build') { diff --git a/jenkins/Jenkinsfile.darwin.ci b/jenkins/Jenkinsfile.darwin.ci index 0263233f..457f4991 100644 --- a/jenkins/Jenkinsfile.darwin.ci +++ b/jenkins/Jenkinsfile.darwin.ci @@ -7,7 +7,7 @@ pipeline { stages { stage('Install') { steps { - sh 'npm install' + sh 'yarn' } } stage('Build') { diff --git a/jenkins/Jenkinsfile.linux.develop b/jenkins/Jenkinsfile.linux.develop index fb01ca58..080d489f 100644 --- a/jenkins/Jenkinsfile.linux.develop +++ b/jenkins/Jenkinsfile.linux.develop @@ -16,7 +16,7 @@ pipeline { } steps { sh 'rm -rf node_modules' - sh 'npm install' + sh 'yarn' } } stage('Build') { diff --git a/jenkins/Jenkinsfile.linux.master b/jenkins/Jenkinsfile.linux.master index 802d9c78..9f86bd75 100644 --- a/jenkins/Jenkinsfile.linux.master +++ b/jenkins/Jenkinsfile.linux.master @@ -18,7 +18,7 @@ pipeline { } steps { sh 'rm -rf node_modules' - sh 'npm install' + sh 'yarn' } } stage('Build') {