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-06 07:44:25 +01:00
parent f055293d8a
commit 8326bfa75c
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -70,7 +70,9 @@ pipeline {
parallel { parallel {
stage('Back') { stage('Back') {
steps { steps {
sh 'pnpm config set puppeteer_skip_chromium_download true -g'
sh 'pnpm install --prefer-offline' sh 'pnpm install --prefer-offline'
sh 'pnpx puppeteer browsers install chrome'
} }
} }
stage('Print') { stage('Print') {
@ -103,7 +105,6 @@ pipeline {
NODE_ENV = '' NODE_ENV = ''
} }
steps { steps {
sh 'pnpm config set puppeteer_skip_chromium_download true -g'
sh 'node back/tests.js --ci --junit --network jenkins' sh 'node back/tests.js --ci --junit --network jenkins'
} }
post { post {