Skip to content

Removes Lighthouse reports due to Lighthouse v12 removing PWA audits #582

Removes Lighthouse reports due to Lighthouse v12 removing PWA audits

Removes Lighthouse reports due to Lighthouse v12 removing PWA audits #582

Workflow file for this run

name: Playwright Tests
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
paths:
- "apps/pwabuilder/**"
branches: [ tests-final, staging, main ]
pull_request:
paths:
- "apps/pwabuilder/**"
branches: [ tests-final, staging, main ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/pwabuilder
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npm install @playwright/test --save-dev
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test tests/basic.spec.ts tests/packaging.spec.ts tests/report-card.spec.ts
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30