playwright-ci

v2026.09.24

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.

GitHub
Install command
npx skhub add testdino-hq/playwright-ci
Markdown
SKILL.md

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

  1. retries: 2 in CI only — surface flakiness in pipelines, not locally
  2. traces: 'on-first-retry' — capture rich debugging artifacts without slowing every run
  3. Shard across runners — --shard=N/M splits tests evenly; scale horizontally, not vertically
  4. Cache browser binaries — ~/.cache/ms-playwright keyed on Playwright version
  5. Upload artifacts on failure — traces, screenshots, and HTML reports as CI artifacts
  6. Use the official Docker image — mcr.microsoft.com/playwright:v* has all OS deps pre-installed
  7. Global setup for auth — run login once in globalSetup, reuse storageState across workers
  8. Fail fast, debug later — keep CI runs short; use trace viewer and HTML reports to investigate

Guide Index

CI Providers

ProviderGuide
GitHub Actionsci-github-actions.md
GitLab CIci-gitlab.md
CircleCI / Azure DevOps / Jenkinsci-other.md

Execution & Scaling

TopicGuide
Parallel execution & shardingparallel-and-sharding.md
Docker & containersdocker-and-containers.md
Multi-project configprojects-and-dependencies.md

Reporting & Setup

TopicGuide
Reports & artifactsreporting-and-artifacts.md
Code coveragetest-coverage.md
Global setup/teardownglobal-setup-teardown.md
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

ci

Default branch

main

Latest commit

400e425

Tree SHA

de792a9