Skip to content

Commit

Permalink
use playwright template
Browse files Browse the repository at this point in the history
  • Loading branch information
JRJurman committed Aug 25, 2024
1 parent 84bb849 commit 0d886d3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ on: push

jobs:
test:
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '19'

node-version: lts/*
- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install

- name: Run tests
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:ci
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

0 comments on commit 0d886d3

Please sign in to comment.