Skip to content

fix: update action template #258

fix: update action template

fix: update action template #258

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [master]
pull_request:
branches: ["*"]
jobs:
tests_e2e:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: |
cd playwright-action
npm ci
- name: Install Playwright Browsers
run: |
cd playwright-action
npx playwright install --with-deps
- name: Run Playwright tests
run: |
cd playwright-action
npx playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: /playwright-action/playwright-report
path: /playwright-action/playwright-report/
retention-days: 10