Skip to content

Commit

Permalink
update playwright script
Browse files Browse the repository at this point in the history
  • Loading branch information
weboko committed Sep 11, 2023
1 parent 0374115 commit e075920
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: Playwright Tests
name: playwright tests

on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]

env:
NODE_JS: "18"

jobs:
test:
timeout-minutes: 60
Expand All @@ -12,13 +17,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
node-version: ${{ env.NODE_JS }}

- uses: ./.github/actions/npm

- 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:
Expand Down

0 comments on commit e075920

Please sign in to comment.