diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aac439ab..e7b680b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,12 +39,12 @@ jobs: env: LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} run: | + pnpm build --filter @marshallku/blog cd apps/blog - pnpm build - pnpm add -G @lhci/cli + npm i -g @lhci/cli lhci autorun send-notification: - needs: [check-spelling, lint-all, build-all] + needs: [check-spelling, lint-all, build-all, lighthouse] if: ${{ failure() }} uses: marshallku/actions/.github/workflows/send-notification.yml@master with: diff --git a/apps/blog/lighthouserc.json b/apps/blog/lighthouserc.json index 3e0bf133..c95787dd 100644 --- a/apps/blog/lighthouserc.json +++ b/apps/blog/lighthouserc.json @@ -2,7 +2,7 @@ "ci": { "collect": { "startServerCommand": "pnpm start --filter @marshallku/blog", - "startServerReadyPattern": "ready on", + "startServerReadyPattern": "Ready in", "url": ["http://localhost:3000"], "numberOfRuns": 5, "settings": {