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 machine | Shiplight-hosted CI | Your own CI | |
|---|---|---|---|
| How | bun run shiplight test | GitHub Actions with a shiplight-* runner label | Any CI provider's runners, such as GitHub's ubuntu-latest |
| Best for | Authoring, debugging, verifying a change | Managed CI setup | Checks on every change, nightly runs |
| Browser install | You (or your agent) once | Preinstalled | You, in the job |
| Credentials | .env in your project | Configured by Shiplight for the run | You 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 testuploads its completed report from any machine by default;SHIPLIGHT_REPORT_TO_CLOUD=0keeps 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=trueand aSHIPLIGHT_API_TOKENthat 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, selectSHIPLIGHT_ACTION_CACHE_BACKEND=localand 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.
Related
- Run Locally: project structure, configuration, the debugger
- CI/CD: wiring a provider, auto-triage, agent setup
- LLM Providers: key options, including the Shiplight proxy