CI setup
SootSim has two distinct CI lanes:
- Test lanes — run flows or suites, emit JUnit, upload screenshots or logs. These do not need a SootSim account.
- Cloud preview lanes — publish shareable
/preview/<id>links from CI. These require a paid plan plus aSOOTSIM_API_KEY.
GitHub Actions: test lane
GitHub Actions: cloud preview lane
Preview uploads are different from plain test artifacts. They authenticate against SootSim cloud, so this lane requires:
- a Personal or Team plan
- a
SOOTSIM_API_KEYsecret
Use Personal when the lane belongs to your own repo. Use Team when the lane should draw from a shared org pool or participate in shared team workflows.
Create the key once from a signed-in machine:
terminal
Then store the returned secret in GitHub Actions as SOOTSIM_API_KEY and use
it in the workflow:
Use sootsim flow --preview when the CI lane already runs a flow. If you
already have a captured session plus recording artifacts, use
sootsim upload --video ... --events ... instead.
Other CI systems
The same split applies outside GitHub Actions:
- test lanes only need Node, Playwright, the app dev server, and the
sootsimCLI - cloud preview lanes additionally need a paid plan and
SOOTSIM_API_KEY
Output you can keep
- JUnit XML — from
--reporter junit - Screenshots — from flow capture or
sootsim screenshot - Videos — from
sootsim record - Cloud previews — from
sootsim flow --previeworsootsim upload