diff --git a/Jenkinsfile b/Jenkinsfile index 086bec0..24a1afe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,7 +20,7 @@ pipeline { stage('Build') { steps { sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node yarn --registry=$NPM_REGISTRY install' - sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node bin/build' + sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node npm run-script build' sh 'rm -rf node_modules' sh 'docker run --rm -v $(pwd):/srv/app -w /srv/app jc21/node yarn --registry=$NPM_REGISTRY install --prod' sh 'docker run --rm -v $(pwd):/data $DOCKER_CI_TOOLS node-prune'