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.38% (551/703) * Lines of Code: 703 #### Quality Gates Summary No active quality gates.
Tests / Frontend - Lint, Tests et Build passed: 72
Frontend Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 84.87% (505/595) * Lines of Code: 595 #### 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-17 19:26:08 +00:00
parent 89e49bc56d
commit e257da41b0
2 changed files with 5 additions and 1 deletions

View File

@@ -30,7 +30,10 @@ async function main() {
const server = await preview({ root, preview: { port: 4173, strictPort: false } })
const base = server.resolvedUrls.local[0].replace(/\/$/, '')
const browser = await chromium.launch()
const browser = await chromium.launch({
executablePath: process.env.CHROMIUM_PATH || '/usr/bin/chromium-browser',
headless: true,
})
const page = await browser.newPage()
for (const route of ROUTES) {