U6: Lighthouse performance in CI alleen waarschuwen (Pi te traag), eigenaarsbesluit vastgelegd

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 14:24:26 +01:00
co-authored by Claude Sonnet 5.5
parent 9ac852f2a2
commit 1a02824338
4 changed files with 14 additions and 5 deletions
+7 -1
View File
@@ -12,7 +12,13 @@ module.exports = {
},
assert: {
assertions: {
'categories:performance': ['error', { minScore: 0.9 }],
// Eigenaarsbesluit 2026-11-14: op de Pi-runner is de meting te traag (mobiel 0,54, lokaal
// 0,90), dus performance wordt in CI alleen gerapporteerd (LIGHTHOUSE_PERFORMANCE=warn).
// Lokaal blijft het een harde gate (standaard 'error').
'categories:performance': [
process.env.LIGHTHOUSE_PERFORMANCE ?? 'error',
{ minScore: 0.9 },
],
'categories:accessibility': ['error', { minScore: 0.9 }],
'categories:best-practices': ['error', { minScore: 0.9 }],
'categories:seo': ['error', { minScore: 0.9 }],