veza/.github/workflows/performance.yml
senke ce3b92a0c1 ci: fix duplicate env block in staging-validation workflow
Merge SSL env vars into existing env block instead of creating a
duplicate (YAML doesn't allow duplicate top-level keys).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:51:10 +02:00

43 lines
1 KiB
YAML

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