diff --git a/Jenkinsfile b/Jenkinsfile index c6ca377..97826d9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,17 +27,17 @@ API_KEY=1234 cat ./.env''' } - stage('test') { + stage('Build') { steps { - sh 'npm run test:ci' + sh '''npm install +npm run build +npm start & sleep 1''' } } - stage('build') { + stage('Test') { steps { - sh '''npm install -npm run build -npm start & sleep 100''' + sh 'npm test & sleep 1' } }