Skip to main content
WORKFLOW AUTOMATION

GitHub Actions: Playwright CI Starter Workflow

Production-shaped GitHub Actions workflow running Playwright suites with dependency caching, sharding, trace-on-retry artifacts and required-check conventions.

Intended user
Teams setting up durable Playwright CI on GitHub Actions
Required tools
GitHub Actions, Playwright project in repository
Input requirements
Standard Playwright config; adjust Node version matrix and shard count.
Output example
Green/red checks with uploaded traces, reports and HTML summary on failure.
Compatibility
Playwright ≥ current stable, ubuntu-latest runners
Download format
YAML (.yml)

Safety notes

Uses least-privilege permissions block; review OIDC/AWS patterns before extending to deployments.