fix(ci): use system Chromium for frontend prerender
Some checks failed
Tests / Backend - Tests skipped: 8, passed: 74
Backend Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 78.66% (553/703) * Lines of Code: 703 #### Quality Gates Summary No active quality gates.
Tests / Frontend - Lint, Tests et Build passed: 83
Frontend Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 84.94% (547/644) * Lines of Code: 644 #### Quality Gates Summary No active quality gates.
THE-TIP-TOP-MULTIBRANCH/pipeline/head There was a failure building this commit

This commit is contained in:
2026-09-18 01:32:13 +00:00
parent b96c0b50ab
commit 9edb3255e8
2 changed files with 2 additions and 1 deletions

2
Jenkinsfile vendored
View File

@@ -220,7 +220,7 @@ pipeline {
--volumes-from furious-jenkins \
-v tiptop-npm-cache-frontend:/npm-cache \
-e HOME=/tmp \
-e CHROMIUM_PATH=/usr/bin/chromium-browser \
-e CHROMIUM_PATH=/usr/bin/chromium \
-e NODE_OPTIONS=--dns-result-order=ipv4first \
-e NPM_CONFIG_CACHE=/npm-cache \
-e NPM_CONFIG_FETCH_RETRIES=5 \

View File

@@ -31,6 +31,7 @@ async function main() {
const base = server.resolvedUrls.local[0].replace(/\/$/, '')
const browser = await chromium.launch({
executablePath: process.env.CHROMIUM_PATH || '/usr/bin/chromium',
headless: true,
})
const page = await browser.newPage()