Skip to content

docs(issue): πŸ“ template - refactor update #195

docs(issue): πŸ“ template - refactor update

docs(issue): πŸ“ template - refactor update #195

Workflow file for this run

name: Playwright Tests
on:
pull_request:
branches:
- master
jobs:
run-tests-playwright:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# Run local server
# playwright.config.ts = should run the webServer:{}
- name: Run Playwright tests
run: npx playwright test
- name: Archive test results
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 7