[Snyk] Security upgrade bootstrap from 4.4.1 to 5.0.0 #174
This file contains 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: Test Lighthouse Check with Minimum Score Enforcement | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lighthouse-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- run: npm install | |
- name: Run Lighthouse | |
uses: foo-software/lighthouse-check-action@master | |
id: lighthouseCheck | |
with: | |
urls: 'https://vue-shop-e3547.firebaseapp.com/' | |
accessToken: ${{ secrets.LIGHTHOUSE_CHECK_GITHUB_ACCESS_TOKEN }} | |
author: ${{ github.actor }} | |
branch: ${{ github.ref }} | |
- name: Handle Lighthouse Check results | |
uses: foo-software/lighthouse-check-status-action@master | |
with: | |
lighthouseCheckResults: ${{ steps.lighthouseCheck.outputs.lighthouseCheckResults }} | |
minAccessibilityScore: "90" | |
minBestPracticesScore: "50" | |
minPerformanceScore: "30" | |
minProgressiveWebAppScore: "0" | |
minSeoScore: "50" |