Update README title for clarity on Playwright and Testream integration #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Playwright + Testream Reporter | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| env: | |
| # Add this secret in: Settings -> Secrets and variables -> Actions -> New repository secret. | |
| TESTREAM_API_KEY: ${{ secrets.TESTREAM_API_KEY }} | |
| TEST_ENV: ci | |
| # branch, commitSha, repositoryUrl, buildNumber, buildUrl → auto-resolved by the reporter. | |
| # buildName → read from GITHUB_WORKFLOW, injected automatically by the runner. | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/* | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright Browsers | |
| run: npx playwright install --with-deps chromium | |
| - name: Run Playwright tests | |
| run: npm test |