# GitHub Actions Strategy (Humand E2E)

Use a phased pipeline strategy by branch/event.

## Target execution model

- PR: run `@smoke` (blocking)
- Merge to `develop/main`: run `@smoke|@regression` (blocking)
- Nightly: run full suite (reporting/non-blocking unless release gate)

## Workflow goals

- fast feedback on PRs
- stronger confidence before deployments
- clear artifacts for debugging failures

## Core CI steps

1. checkout
2. setup node
3. install app and e2e deps
4. install Playwright browser deps
5. start app and wait for readiness
6. run tagged suite
7. upload reports/artifacts

## Notes

- Keep run commands aligned with `e2e/package.json` scripts.
- Ensure base URL/ports align with environment target.
- Treat flaky tests with ownership and quarantine policy, not by increasing retries indefinitely.
