diff --git a/Jenkinsfile b/Jenkinsfile index e41fc58..05e8ec1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { stages { stage('Build') { steps { - sh 'rm -rf node_modules' + // sh 'rm -rf node_modules' //sh 'sudo apt-get update && sudo apt-get -y --no-install-recommends install && sudo apt-get clean' //sh 'sudo apt-get install -y curl ' //sh 'curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -' @@ -15,7 +15,9 @@ pipeline { //sh 'sudo npm install -g npm@latest' //sh 'npm install --legacy-peer-deps' sh 'sudo npm install -g yarn' - sh 'npm install' + sh 'npm install' + sh 'npm run build' + } } stage('Test') {