fix: try to fix puppeteer
gitea/salix/pipeline/pr-master There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2024-03-05 07:42:44 +01:00
parent 40d91aeb28
commit 6db24580be
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -71,6 +71,7 @@ pipeline {
stage('Back') { stage('Back') {
steps { steps {
sh 'pnpm install --prefer-offline' sh 'pnpm install --prefer-offline'
sh 'pnpx puppeteer browsers install chrome'
} }
} }
stage('Print') { stage('Print') {
@ -103,7 +104,6 @@ pipeline {
NODE_ENV = '' NODE_ENV = ''
} }
steps { steps {
sh 'pnpx puppeteer browsers install chrome'
sh 'node back/tests.js --ci --junit --network jenkins' sh 'node back/tests.js --ci --junit --network jenkins'
} }
post { post {