This repository was archived by the owner on Aug 26, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test Lighthouse Check with Minimum Score Enforcement
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ lighthouse-check :
10+ runs-on : ubuntu-latest
11+ continue-on-error : true
12+ steps :
13+ - uses : actions/checkout@master
14+ - run : npm install
15+ - name : Run Lighthouse
16+ uses : foo-software/lighthouse-check-action@master
17+ id : lighthouseCheck
18+ with :
19+ accessToken : ${{ steps.lighthouseCheck.outputs.lighthouseCheckResults }}
20+ apiToken : ${{ secrets.LIGHTHOUSE_API_TOKEN }}
21+ urls : ${{ secrets.LIGHTHOUSE_URL }}
22+ - name : Handle Lighthouse Check results
23+ uses : foo-software/lighthouse-check-status-action@master
24+ with :
25+ commentUrl : " push"
26+ lighthouseCheckResults : ${{ steps.lighthouseCheck.outputs.lighthouseCheckResults }}
27+ minAccessibilityScore : " 0"
28+ minBestPracticesScore : " 0"
29+ minPerformanceScore : " 0"
30+ minProgressiveWebAppScore : " 0"
31+ minSeoScore : " 0"
You can’t perform that action at this time.
0 commit comments