Skip to main content

Overview

The Stably GitHub Action runs your Playwright tests on Stably’s cloud infrastructure directly from your GitHub Actions workflows. It supports two modes: Agents (v2) for project-based runs, and Classic (v1) for test-suite-based runs. The action auto-detects which version to use based on your inputs.

Quick Start

Inputs (v2 — Agents)

Inputs (v1 — Classic)

Outputs

Examples

Run Specific Playwright Projects

Override Environment Variables

Use a Dynamic Preview URL

If your deployment URL is generated by a previous step (e.g. Vercel, Netlify):

Classic (v1) Example

Check Outputs

Permissions

If using the github-comment feature (enabled by default), add these permissions at the top of your workflow:
Alternatively, enable read/write permissions for all workflows at Settings > Actions > General > Workflow permissions.
For organizations, you must first allow these permissions at the organization level before they can be set per-repository.

Using the CLI Instead

You can also run Stably tests directly via the CLI in GitHub Actions:

Next Steps

GitLab CI

Integrate with GitLab CI/CD

Alerting

Configure notifications for test results