Skip to content
Back to skills

Ci

ASecurity

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.

  • 4,737 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsgodockerazuredebugginggitdevopsci/cd

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add zebbern/claude-code-guide --skill ci --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ci?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ci
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zebbern-claude-code-guide/badge)](https://www.skillsdirectory.com/skills/zebbern-claude-code-guide)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: playwright-ci
description: 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

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

| Provider                          | Guide                                        |
| --------------------------------- | -------------------------------------------- |
| GitHub Actions                    | [ci-github-actions.md](ci-github-actions.md) |
| GitLab CI                         | [ci-gitlab.md](ci-gitlab.md)                 |
| CircleCI / Azure DevOps / Jenkins | [ci-other.md](ci-other.md)                   |

### Execution & Scaling

| Topic                         | Guide                                                        |
| ----------------------------- | ------------------------------------------------------------ |
| Parallel execution & sharding | [parallel-and-sharding.md](parallel-and-sharding.md)         |
| Docker & containers           | [docker-and-containers.md](docker-and-containers.md)         |
| Multi-project config          | [projects-and-dependencies.md](projects-and-dependencies.md) |

### Reporting & Setup

| Topic                 | Guide                                                    |
| --------------------- | -------------------------------------------------------- |
| Reports & artifacts   | [reporting-and-artifacts.md](reporting-and-artifacts.md) |
| Code coverage         | [test-coverage.md](test-coverage.md)                     |
| Global setup/teardown | [global-setup-teardown.md](global-setup-teardown.md)     |

Files in this skill

  • SKILL.md2.7 KB
  • ci-github-actions.md17.1 KB
  • ci-gitlab.md12.3 KB
  • ci-other.md16.1 KB
  • docker-and-containers.md13.7 KB
  • global-setup-teardown.md17.8 KB
  • parallel-and-sharding.md15.8 KB
  • projects-and-dependencies.md18.8 KB
  • reporting-and-artifacts.md16.9 KB
  • test-coverage.md15.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.