Skip to content

[pwa]: added ./ as prefix before source in icons under `manifest.js… #94

[pwa]: added ./ as prefix before source in icons under `manifest.js…

[pwa]: added ./ as prefix before source in icons under `manifest.js… #94

Workflow file for this run

name: Lighthouse Report Generation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Installing Build Deps'
run: npm i -g pnpm
- name: 'Installing deps'
run: |
pnpm i
npm i -g @lhci/cli@0.9.x serve
- name: 'Build Prodcution'
run: pnpm build
- name: 'Serve Prodcution Server'
run: serve -s build &
- name: 'Run Lighthouse tests'
continue-on-error: true
run: lhci autorun
- name: 'Upload report'
uses: actions/upload-artifact@v4
if: always()
with:
name: lhci-reports
path: |
.lighthouseci/
# if-no-files-found: error
# if: ${{ success() && steps.lighthouse.outputs.hasHtmlReport == 'true' && steps.lighthouse.outputs.hasJsonReport == 'true' }}