feat: add jenkins support
Some checks failed
jenkins-ci Build failed

This commit is contained in:
2026-01-27 10:30:31 +00:00
parent bc8447e951
commit 863a186764
106 changed files with 13716 additions and 0 deletions

25
.lighthouserc.cjs Normal file
View File

@@ -0,0 +1,25 @@
module.exports = {
ci: {
collect: {
staticDistDir: './html',
settings: {
// Ajout de --disable-storage-reset et --disable-dev-shm-usage est crucial ici
chromeFlags: '--no-sandbox --disable-dev-shm-usage --disable-gpu --headless=new --disable-software-rasterizer',
},
numberOfRuns: 1
},
assert: {
// On utilise 'preset: lighthouse:recommended' ou on simplifie les assertions
assertions: {
'categories:performance': ['error', {minScore: 0.1}],
'categories:accessibility': ['error', {minScore: 0.1}],
'categories:best-practices': ['error', {minScore: 0.1}],
'categories:seo': ['error', {minScore: 0.1}],
},
},
upload: {
target: 'filesystem',
outputDir: './.lighthouseci',
},
},
};