GitHub Actions

Add a SentinelQA upload step after your Playwright tests. Store environment variables in GitHub Actions Secrets.

yaml
jobs:
  playwright:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install dependencies
        run: npm ci
      - name: Run Playwright tests
        run: npm run test:playwright
      - name: Upload SentinelQA artifacts
        run: npx sentinelqa upload
        env:
          SENTINELQA_API_KEY: ${{ secrets.SENTINELQA_API_KEY }}