fix: try to fix puppeteer
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
f055293d8a
commit
8326bfa75c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue