GitHub Actions
Environment variables
| Variable | Description |
|---|---|
GRANTIVA_API_KEY | API key for authentication (required in CI) |
GRANTIVA_API_URL | Base URL override (default: https://grantiva.io) |
Skip the build step
If your CI already builds the app in a previous step:.app:
JSON output for scripting
0 if all screens pass, 1 if any fail — works with CI if conditions.
Approving new baselines
When UI changes are intentional, approve the new screenshots:Results
After each run, the CLI outputs:- Run ID and dashboard URL
- Screen-by-screen pass/fail status
- Pixel diff percentage and perceptual distance per screen
- Total duration