Skip to content

Merge pull request #6 from Amtrtm/tamiro44-patch-1 #4

Merge pull request #6 from Amtrtm/tamiro44-patch-1

Merge pull request #6 from Amtrtm/tamiro44-patch-1 #4

Workflow file for this run

name: Playwright Tests
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
test:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Install Playwright browsers
run: npx playwright install
- name: Run Playwright tests
run: npx playwright test
- name: Upload Playwright report
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report
if-no-files-found: ignore
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results
if-no-files-found: ignore