ci(despliegue): fase 5, Dockerfile, nginx, verificaciones y Lighthouse CI

- Dockerfile multi-etapa: build con Playwright (sitio, PDF, precompresión) y
  nginx sin privilegios en 8080 con healthcheck
- nginx: CSP sin unsafe-inline, HSTS, nosniff, Referrer-Policy, caché inmutable
  para assets con hash, gzip_static, página 404 y /salud
- scripts: verificar-prohibidas (falla con PLD, Odoo, lavado, CHM, 115/2026 en
  dist/), verificar-metricas (falla con resultado sin método), comprimir
- Lighthouse CI con umbral 95 en móvil y presupuesto de 1.5 MB / 50 KB de JS
- GitHub Actions: check, build, verificaciones, PDF, Lighthouse e imagen Docker

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Collina SystemsandClaude Fable 5.1 committed 2026-11-04 12:51:31 -06:00
1 parent 7fda61dc15
commit 221b2d21a8
14 files changed
+359 -1

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
---
import Base from '../layouts/Base.astro';
---
<Base titulo="Página no encontrada" descripcion="La dirección no existe en este sitio." noindex>
<section class="section">
<div class="wrap">
<p class="eyebrow">Error 404</p>
<h1 class="h1-sec titulo">Esta página no existe.</h1>
<p class="lead intro">Puede que la dirección haya cambiado. Las secciones del sitio están en el menú.</p>
<p class="intro"><a class="link" href="/proyectos">Ver los proyectos</a></p>
</div>
</section>
</Base>
<style>
.titulo {
margin-top: 1rem;
}
.intro {
margin-top: 1.2rem;
}
</style>