[pwa]: added ./
as prefix before source in icons under `manifest.js…
#94
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }} |