Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LHCI #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add LHCI
jixor committed Mar 9, 2022
commit 091ae16e627e81cf66820f7ea5446966092a1bbe
14 changes: 14 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
@@ -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