Running webauditlabs in CI
The CLI runs Chromium in the CI job itself; no account or API key is needed.
GitHub Actions
Section titled “GitHub Actions”- run: npx playwright install --with-deps chromium- run: npx webqa-platform audit https://staging.example.com --json > webqa-result.json- uses: actions/upload-artifact@v4 if: failure() with: name: webqa-evidence path: .webqa/runs/GitLab CI
Section titled “GitLab CI”webqa: image: mcr.microsoft.com/playwright:v1.64.1-noble script: - npx webqa-platform audit https://staging.example.com --json > webqa-result.json artifacts: when: on_failure paths: [.webqa/runs/]To check a preview environment on a private network, add --allow-private. Use the exit codes to distinguish site findings (1) from runner problems (3, 4).