feat(onboarding): doctor + next commands, /docs page, first-week chec… #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lighthouse CI | |
| # Runs Lighthouse against the dashboard and homepage to catch | |
| # performance/accessibility regressions before they ship. | |
| # Uses temporary public storage for results — no auth setup needed. | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| lighthouse: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build shared + CLI | |
| run: | | |
| pnpm --filter @loopkit/shared build | |
| pnpm --filter @loopkit/cli build | |
| - name: Build web | |
| env: | |
| NEXT_PUBLIC_CONVEX_URL: "https://placeholder.convex.cloud" | |
| run: pnpm --filter @loopkit/web build | |
| - name: Run Lighthouse CI | |
| env: | |
| LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} | |
| run: | | |
| pnpm dlx @lhci/[email protected] autorun |