# Playwright Ci

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-zebbern-claude-code-guide-ci`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [zebbern](https://agentstack.voostack.com/s/zebbern)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [zebbern](https://github.com/zebbern)
- **Source:** https://github.com/zebbern/claude-code-guide/tree/main/skills/playwright/ci

## Install

```sh
agentstack add skill-zebbern-claude-code-guide-ci
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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)     |

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [zebbern](https://github.com/zebbern)
- **Source:** [zebbern/claude-code-guide](https://github.com/zebbern/claude-code-guide)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zebbern-claude-code-guide-ci
- Seller: https://agentstack.voostack.com/s/zebbern
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
