Custom setups โ
No dedicated page for your CI provider? It doesn't matter. The shiplight CLI runs on any pipeline with Node.js 22 or newer โ Drone, Woodpecker, TeamCity, Bitbucket Pipelines, a bare shell script, or anything else. These commands use Bun for package management and command invocation, so install Bun alongside Node. The provider-specific pages are just this same recipe in each provider's syntax.
The recipe โ
Any provider needs three things, in order:
bun install # installs the shiplight CLI (shiplightai) + project deps
bun run playwright install --with-deps chromium # the browser the tests drive (drop --with-deps if the image has the libs)
bun run shiplight test # run tests and upload the completed reportAnd these environment variables:
| Variable | Value | Why |
|---|---|---|
SHIPLIGHT_API_TOKEN | org token from app.shiplight.ai/api-tokens | authenticates report uploads and LLM-proxy calls for AI-powered test steps; store it as a secret |
CI | true | enables the shared Shiplight Cloud action cache when a Shiplight token is present |
shiplight test uploads its report after the child process exits, including failed test runs. Use shiplight report separately when regenerating or merging reports.
What remains GitHub Actions-only โ
Failure classification runs on the server for uploaded runs from any provider; the optional autofix workflow (auto-triage) is GitHub Actions only. Runtime self-healing works on a custom provider when you supply SHIPLIGHT_API_TOKEN or supported bring-your-own-model credentials. With CI=true and a Shiplight token that has action-cache access, healed locators from passing tests persist to the shared Shiplight Cloud action cache.
Notes โ
- Project in a subdirectory (e.g.
tests/e2e)?cdinto it before each command. - Tests that use AI-powered actions (natural-language steps, self-healing locators) need
SHIPLIGHT_API_TOKENor supported bring-your-own-model credentials in the job environment.