Skip to content

Commit

Permalink
Merge pull request #10 from tusharnankani/lighthouse-test
Browse files Browse the repository at this point in the history
feat: check lighthouse report for PRs (#5)
  • Loading branch information
tusharnankani authored Apr 22, 2022
2 parents c31e644 + f91eb4c commit a25f98b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lighthouse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lighthouse
on: [pull_request]

jobs:
lighthouse-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Lighthouse
uses: foo-software/lighthouse-check-action@master
id: lighthouseCheck
with:
urls: 'https://tusharnankani.github.io/about'
- name: Verify Lighthouse Check results
uses: foo-software/lighthouse-check-status-action@master
with:
lighthouseCheckResults: ${{ steps.lighthouseCheck.outputs.lighthouseCheckResults }}
minAccessibilityScore: "90"
minBestPracticesScore: "90"
minPerformanceScore: "90"
# minProgressiveWebAppScore: "50"
minSeoScore: "90"

0 comments on commit a25f98b

Please sign in to comment.