Skip to content

Commit

Permalink
fix lighthouse-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed May 20, 2020
1 parent c69cf4a commit fdbf95a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/lighthouse-ci.yml
Expand Up @@ -14,17 +14,10 @@ jobs:
accessToken: ${{ secrets.GITHUB_TOKEN }}
outputDirectory: /tmp/artifacts
emulatedFormFactor: desktop
timeout: 600
urls: 'https://preview-${{ github.event.pull_request.number }}-ant-design.surge.sh,https://preview-${{ github.event.pull_request.number }}-ant-design.surge.sh/components/button'
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: Lighthouse reports
path: /tmp/artifacts
- name: Handle Lighthouse Check results
uses: foo-software/lighthouse-check-status-action@master
with:
lighthouseCheckResults: ${{ steps.lighthouseCheck.outputs.lighthouseCheckResults }}
minAccessibilityScore: "50"
minBestPracticesScore: "50"
minPerformanceScore: "5"
minSeoScore: "70"

0 comments on commit fdbf95a

Please sign in to comment.