Jaume Garriga Maestre
2f90d41be3
ci: fix runner image (node:20), add Playwright smoke tests
...
CI · Test & Deploy / Playwright tests (push) Failing after 3m55s
CI · Test & Deploy / Deploy to VPS (push) Has been skipped
- Change runner to node:20 (has bash) instead of node:20-alpine
- Add tests/smoke.spec.js: 7 tests covering title, welcome screen,
COMARCA_PATHS count (43), Lluçanès/Moianès presence, and
filter counts (coastal=12, interior=21, mountain=10)
- Add playwright.config.js
- Fix CI workflow: use 'serve' for static server, proper SSH key setup
2026-05-14 11:11:39 +02:00
Jaume Garriga Maestre
65525a8e76
ci: add Gitea Actions workflows (CI/deploy + weekly npm audit)
...
CI · Test & Deploy / Playwright tests (push) Failing after 1m41s
CI · Test & Deploy / Deploy to VPS (push) Has been skipped
- ci.yml: run Playwright tests on every push to main, then deploy to VPS
if tests pass; includes post-deploy health check
- audit.yml: weekly npm audit (Mondays 07:00 UTC), fails on high/critical
- Requires VPS_SSH_KEY secret (already configured in repo settings)
2026-05-14 11:01:16 +02:00