diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 349f74d..b5c0a0c 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -104,6 +104,26 @@ jobs: path: cache/ key: test-cache + # Lighthouse + lighthouse: + name: Lighthouse + runs-on: ubuntu-latest + needs: build + steps: + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: build-artifact + path: build/ + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Install Lighthouse CI + run: npm install -g @lhci/cli@0.15.x + - name: Run Lighthouse CI + run: lhci autorun + # Deploy the GitHub Pages artifact deploy-github-pages: name: Deploy to GitHub Pages