[deps]: upgrade antd deps; #23
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 deps' | |
| run: | | |
| yarn | |
| npm i -g @lhci/cli@0.9.x serve | |
| - name: 'Build Prodcution' | |
| run: yarn 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' }} |