1
0

playwright.yml 548 B

123456789101112131415161718192021222324252627282930
  1. name: Playwright E2E
  2. on:
  3. push:
  4. branches:
  5. - master
  6. workflow_dispatch:
  7. jobs:
  8. e2e:
  9. runs-on: ubuntu-latest
  10. timeout-minutes: 45
  11. steps:
  12. - name: Checkout
  13. uses: actions/checkout@v4
  14. - name: Setup Node
  15. uses: actions/setup-node@v4
  16. with:
  17. node-version: 20
  18. - name: Install dependencies
  19. run: npm install
  20. - name: Install Playwright Chromium
  21. run: npx playwright install --with-deps chromium
  22. - name: Run Playwright tests
  23. run: npm run test:e2e