# Custom setups

<div class="view-markdown-wrapper">
<ViewMarkdown />
</div>

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:

```bash
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 report
```

And these environment variables:

| Variable                    | Value                                                                             | Why                                                                                                        |
| --------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `SHIPLIGHT_API_TOKEN`       | org token from [app.shiplight.ai/api-tokens](https://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](/local/ci#auto-triage-failures)) 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`)? `cd` into it before each command.
- Tests that use AI-powered actions (natural-language steps, self-healing locators) need `SHIPLIGHT_API_TOKEN` or supported bring-your-own-model credentials in the job environment.

## Related

- [CI/CD overview](/local/ci) · [GitHub Actions](/local/ci/github-actions) · [CLI Reference](/local/cli-reference)
