Skip to content

Ci/CD test

Ci/CD test #3

Workflow file for this run

name: QualityShop.SUT Playwright Test
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test --reporter=html
- name: Upload HTML report
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: reports/playwright-report/
retention-days: 30