Skip to content

Where tests run ​

A Shiplight suite is plain YAML plus a Playwright project in your repo, so it is not tied to any one machine. The same tests run on your machine and in any CI, and moving between them changes a workflow file, not your suite.

Your machineShiplight-hosted CIYour own CI
Howbun run shiplight testGitHub Actions with a shiplight-* runner labelAny CI provider's runners, such as GitHub's ubuntu-latest
Best forAuthoring, debugging, verifying a changeManaged CI setupChecks on every change, nightly runs
Browser installYou (or your agent) oncePreinstalledYou, in the job
Credentials.env in your projectConfigured by Shiplight for the runYou store secrets in your CI

Your machine ​

Local runs are where suites are authored and repaired: /shiplight create-yaml-tests to write tests, bun run shiplight test to run them, the visual debugger to hand-tune. You need Node.js 22 or newer, Bun, a browser, and an LLM key for AI-powered steps: your own provider key, or a Shiplight API token via the LLM proxy. See Run Locally.

Your own CI ​

The shiplight CLI runs on any pipeline with Node.js 22 or newer and Bun: GitHub's own runners, GitLab, CircleCI, Jenkins, Buildkite, Azure DevOps, or your self-hosted machines. You install the browser in the job and supply LLM credentials for AI-powered steps (your own key, or a Shiplight token via the proxy).

For Shiplight-managed GitHub Actions runners, see CI Runners.

What needs a Shiplight account:

  • Running tests with your own provider key doesn't. Deterministic steps call no model, and AI-powered steps call your provider directly.
  • Uploading results does. With SHIPLIGHT_API_TOKEN, shiplight test uploads its completed report from any machine by default; SHIPLIGHT_REPORT_TO_CLOUD=0 keeps it local. The organization needs an active plan; see Billing. Shiplight Cloud dashboards don't care where the run happened.
  • The proxy and the shared action cache do. With CI=true and a SHIPLIGHT_API_TOKEN that has action-cache access, healed locators from passing tests persist to Shiplight Cloud for later runs. To keep the cache in your own CI instead, select SHIPLIGHT_ACTION_CACHE_BACKEND=local and persist it with CI cache storage or Git commits.

Provider templates: CI/CD.

How to choose ​

  • Start local. Authoring and debugging happen on your machine either way.
  • Add CI on the provider you already use. On GitHub, start from the GitHub Actions guide or run /shiplight ci.
  • Cost-sensitive at scale: cached deterministic steps call no model, so a mature suite is cheap to run anywhere; bringing your own LLM key is the biggest lever.
  • Run Locally: project structure, configuration, the debugger
  • CI/CD: wiring a provider, auto-triage, agent setup
  • LLM Providers: key options, including the Shiplight proxy

Released under the MIT License.