docs: a VPS vira o caminho principal do README, e a 1.2.0 ganha changelog para ser cortada #534
Workflow file for this run
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: perf | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build-and-size: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| # 22 como o job `ci` e o `.nvmrc`. Buildar numa versão que o | |
| # `engines` (>=22) não suporta esconde quebra ou inventa falha. | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm build | |
| env: | |
| NEXT_TELEMETRY_DISABLED: "1" | |
| # "off", não vazio: vazio seleciona o Sentry DA COMUNIDADE | |
| # (lib/sentry/dsn.ts:8-10). A intenção aqui sempre foi desligar, e | |
| # com aspas vazias ela não era alcançada — o build seguia com o DSN | |
| # padrão embutido. | |
| SENTRY_DSN: "off" | |
| - name: Report bundle sizes | |
| run: | | |
| { | |
| echo "## Build output sizes" | |
| du -sh .next 2>/dev/null || true | |
| if [ -d .next/static ]; then du -sh .next/static; fi | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| # NOTE: Lighthouse CI + bundle-analyzer thresholds deferred (S-12.05 follow-up). |