name: Performance on: pull_request: branches: [main] permissions: contents: read env: GIT_SSL_NO_VERIFY: "true" NODE_TLS_REJECT_UNAUTHORIZED: "0" jobs: bundle-size: runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: npm cache-dependency-path: apps/web/package-lock.json - name: Install dependencies run: cd apps/web && npm ci - name: Build run: cd apps/web && npm run build - name: Check bundle size run: cd apps/web && npx size-limit - name: Upload stats artifact if: always() uses: actions/upload-artifact@v4 with: name: bundle-stats path: apps/web/stats.html if-no-files-found: ignore retention-days: 14