- Remove Sitemap line from robots.txt (no @astrojs/sitemap installed; was pointing to a 404 that would trip Google Search Console). - Align Permissions-Policy across all three enforcement layers (middleware, .htaccess, Cloudflare Transform Rule in OPERATOR-CHECKLIST) by dropping the stray fullscreen=(self) from the middleware. - Bump Lighthouse CI numberOfRuns from 1 to 3 to dampen CI-runner noise. - Add CI guard that fails the build if any <TBD:...> marker survives into dist/ — prevents a legally incomplete imprint from shipping by accident. - Add SFTP_* secret null-guard before the rsync --delete step so a missing secret fails loudly instead of targeting the SSH user's home root. - Document the set:html compile-time-constant invariant in DualValueProps. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
737 B
JavaScript
29 lines
737 B
JavaScript
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',
|
|
},
|
|
},
|
|
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',
|
|
},
|
|
},
|
|
};
|