Skip to content

Commit

Permalink
Update playwright GitHub action to use playwright cli
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Feb 20, 2025
1 parent 7124843 commit 615cf55
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,15 @@ on:
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
tests_e2e:
name: Run end-to-end tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Run tests
run: npx playwright test retention-days: 30

0 comments on commit 615cf55

Please sign in to comment.