Skip to content

[upgrade]: change in modal api for antd v6; #106

[upgrade]: change in modal api for antd v6;

[upgrade]: change in modal api for antd v6; #106

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/[email protected] 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' }}