chore(ci): add Woodpecker pipeline (#42) #44
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dnd/cards#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/42-woodpecker-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implémente le ticket #42 (CI Woodpecker exécutant les smoke tests + validation visuelle).
Ce que fait la PR
Ajoute
.woodpecker.yml: pipeline déclenché sur push et pull request versdevelopetmain, avec deux étapes :smoke-tests—node scripts/smoke-test.jssur une image Node minimale (aucune dépendance) ;visual-validation—npm cipuisnode tests/visual-validation.jssur l'image officielle Playwright (v1.61.1-noble, Chromium préinstallé, version alignée sur la devDependency du dépôt).Le pipeline ne construit rien et ne produit aucun artefact : il valide uniquement l'application statique.
Détails
tests/visual-validation.js: ajout de--no-sandboxau lancement Chromium (requis quand le conteneur CI tourne en root ; inoffensif en local/headless).Vérification locale
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm ci: lockfile valide (comme en CI).node scripts/smoke-test.js: OK.node tests/visual-validation.js(avec--no-sandbox) : 8/8 pages OK..woodpecker.yml: syntaxe validée.Le déclenchement réel du pipeline (vert/rouge) est à confirmer sur l'instance Woodpecker connectée au dépôt — l'ouverture de cette PR devrait produire le premier run.
Closes #42
🤖 Generated with Claude Code
Add .woodpecker.yml running the existing validations on every push and pull request to develop and main: - smoke-tests: node scripts/smoke-test.js on a minimal Node image; - visual-validation: npm ci + node tests/visual-validation.js on the official Playwright image (Chromium preinstalled, version aligned with the repo dev dependency). The pipeline builds nothing and produces no artefact; it only validates the static app. It requires a Woodpecker instance and runner connected to the Forgejo repo. Pass --no-sandbox to Chromium so the visual step works when the CI container runs as root (harmless locally). Documented in the README and CHANGELOG. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019fEfJomg2UxRUoR6fduyAC