
Playwright Ci
Production-ready CI/CD configurations for Playwright, GitHub Actions, GitLab CI...
Install
npx skills add zebbern/claude-code-guide --skill playwright-ci -g -a claude-code -y- Repository
- zebbern/claude-code-guide4.7k
- Category
- Testing
- Updated
- 4d ago
- License
- MIT
- Context cost
- Lightabout 616 tokens
- Runs scripts
- No, instructions only
What it does
Production-ready CI/CD configurations for Playwright, GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.
Playwright CI/CD
Ship reliable tests in every pipeline, CI-specific patterns for speed, stability, and actionable reports.
9 guides covering CI/CD setup, parallel execution, containerized runs, reporting, and infrastructure patterns for all major CI providers.
Golden Rules
retries: 2in CI only, surface flakiness in pipelines, not locallytraces: 'on-first-retry', capture rich debugging artifacts without slowing every run- Shard across runners,
--shard=N/Msplits tests evenly; scale horizontally, not vertically - Cache browser binaries,
~/.cache/ms-playwrightkeyed on Playwright version - Upload artifacts on failure, traces, screenshots, and HTML reports as CI artifacts
- Use the official Docker image,
mcr.microsoft.com/playwright:v*has all OS deps pre-installed - Global setup for auth, run login once in
globalSetup, reusestorageStateacross workers - Fail fast, debug later, keep CI runs short; use trace viewer and HTML reports to investigate
Guide Index
CI Providers
| Provider | Guide |
|---|---|
| GitHub Actions | ci-github-actions.md |
| GitLab CI | ci-gitlab.md |
| CircleCI / Azure DevOps / Jenkins | ci-other.md |


