diff --git a/build/Jenkinsfile b/build/Jenkinsfile index ab7244a684..362953d125 100644 --- a/build/Jenkinsfile +++ b/build/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { stages { stage('Components') { steps { - sh "yarn build && cd ${env.WORKSPACE}/packages/asc-web-components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true" + sh "yarn install && yarn build && cd ${env.WORKSPACE}/packages/asc-web-components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true" } post { success { @@ -72,7 +72,7 @@ pipeline { stages { stage('Components') { steps { - bat "yarn build && cd ${env.WORKSPACE}\\packages\\asc-web-components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true" + bat "yarn install && yarn build && cd ${env.WORKSPACE}\\packages\\asc-web-components && yarn test:coverage --ci --reporters=default --reporters=jest-junit || true" } post { success {