From 389a2844163f5a1c321162ee9e7f55f6714c4850 Mon Sep 17 00:00:00 2001 From: Joseph Shearer Date: Wed, 21 Feb 2024 12:28:02 -0500 Subject: [PATCH] Add lhci to prod CI --- .github/workflows/deploy-prod.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index cd85a0db..86b31c46 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -45,10 +45,19 @@ jobs: GATSBY_DB_HOST: ${{ secrets.GATSBY_DB_HOST }} GATSBY_DB_PORT: ${{ secrets.GATSBY_DB_PORT }} GATSBY_DB_NAME: ${{ secrets.GATSBY_DB_NAME }} + - name: run Lighthouse CI + run: | + npm install -g @lhci/cli@0.13.x + lhci autorun + env: + LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} + LHCI_TOKEN: ${{ secrets.LHCI_TOKEN }} + LHCI_BASIC_AUTH_USERNAME: ${{ secrets.LHCI_BASIC_AUTH_USERNAME }} + LHCI_BASIC_AUTH_PASSWORD: ${{ secrets.LHCI_BASIC_AUTH_PASSWORD }} - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: "${{ secrets.GITHUB_TOKEN }}" firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" expires: 30d projectId: estuary-marketing - channelId: live \ No newline at end of file + channelId: live