module.exports = { ci: { collect: { staticDistDir: './dist', url: [ 'http://localhost/index.html', 'http://localhost/pricing/index.html', 'http://localhost/imprint/index.html', 'http://localhost/privacy/index.html', ], numberOfRuns: 3, settings: { preset: 'desktop', // Flags required when Chromium runs inside a CI container or as root // (Gitea act_runner on arm64 uses containers). --headless=new is the // modern Chromium headless mode. CHROME_PATH is set by the workflow. chromeFlags: '--no-sandbox --headless=new --disable-gpu --disable-dev-shm-usage', }, }, assert: { assertions: { 'categories:performance': ['error', { minScore: 0.95 }], 'categories:accessibility': ['error', { minScore: 0.95 }], 'categories:best-practices': ['error', { minScore: 0.95 }], 'categories:seo': ['error', { minScore: 0.95 }], }, }, upload: { target: 'temporary-public-storage', }, }, };