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 091ae16
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ 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:recommended
LHCI_TARGET: temporary-public-storage
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 091ae16

Please sign in to comment.