Skip to content

Commit 091ae16

Browse files
committed
Add LHCI
1 parent de165f7 commit 091ae16

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/build-deploy.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ jobs:
5252
env:
5353
FIREBASE_CLI_PREVIEWS: hostingchannels
5454

55+
lighthouse:
56+
needs: preview
57+
runs-on: ubuntu-latest
58+
env:
59+
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
60+
LHCI_PRESET: lighthouse:recommended
61+
LHCI_TARGET: temporary-public-storage
62+
LHCI_URL: ${{ needs.preview.outputs.details_url }}
63+
steps:
64+
- run: npm install -g @lhci/cli
65+
- run: lhci collect
66+
# - run: lhci assert
67+
- run: lhci upload
68+
5569
deploy:
5670
needs: build
5771
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)