Update docs #170
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 tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: # manually | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.58.0-noble | |
| options: --user 1001 | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: actions/[email protected] | |
| with: | |
| node-version: lts/* | |
| - uses: pnpm/[email protected] | |
| name: Install pnpm | |
| with: | |
| version: latest | |
| run_install: false | |
| - name: Install dependencies | |
| run: pnpm install -r --ignore-scripts | |
| - name: Run Playwright tests | |
| run: npx playwright test | |
| - uses: actions/[email protected] | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: .playwright-report | |
| path: .playwright-report/ | |
| include-hidden-files: true | |
| retention-days: 30 |