Skip to content

Commit

Permalink
Add LHCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jixor committed Mar 9, 2022
1 parent de165f7 commit 060d7ac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ jobs:
env:
FIREBASE_CLI_PREVIEWS: hostingchannels

lighthouse:
needs: preview
runs-on: ubuntu-latest
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
LHCI_PRESET: lighthouse:all
LHCI_URL: ${{ needs.preview.outputs.details_url }}
steps:
- run: npm install -g @lhci/cli
- run: lhci collect
- run: lhci assert
- run: lhci upload

deploy:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 060d7ac

Please sign in to comment.