ci: build Vercel apps on pull requests
Summary
This PR adds a CI build matrix for the Vercel-deployed apps: API, web, marketing, admin, and docs.
Why this matters
The current CI workflow validates lint, tests, typecheck, the desktop build, and CLI build, but it does not build the Next/Fumadocs apps that production and preview deploy workflows ship to Vercel. That leaves production build failures to be discovered late during deploy-preview or deploy-production runs instead of during normal pull-request CI.
This is high-priority because these apps are user-facing deployment surfaces, and catching their build failures before deployment reduces broken previews, failed production deploys, and maintainer firefighting.
Changes
- Adds a
build-vercel-appsCI job. - Builds
@superset/api,@superset/web,@superset/marketing,@superset/admin, and@superset/docsin a fail-fast-disabled matrix. - Uses synthetic CI-safe environment values so the job can run without deployment secrets and never deploys anything.
- Keeps the existing desktop and CLI build jobs unchanged.
Validation
Commands run:
ruby -e 'require "yaml"; YAML.load_file(".github/workflows/ci.yml")'— passedgit diff --check— passed
Commands not run:
- The new GitHub Actions matrix itself — not run locally because it requires CI runners and full Next/Fumadocs app builds.
Failures:
bunx @biomejs/biome@2.4.2 check .github/workflows/ci.yml— not applicable- Related to this PR: no
- Evidence: Biome reports workflow YAML is ignored by the repository Biome config.
Risk
Risk level: medium
Compatibility impact: no runtime code changes. CI becomes stricter and may surface existing build failures in deployable apps.
Rollback simplicity: remove the added workflow job.
Remaining edge cases: placeholder env values are intended only for build-time validation; deployment workflows continue to use real secrets/vars.
Issue
No existing issue. This was discovered during repository analysis.
Notes for maintainers
This intentionally does not call Vercel or create Neon branches. It validates local production builds for the app packages without deployment side effects.
Summary by cubic
Builds Vercel apps in PR CI to catch production build errors early and avoid broken previews. Adds a non-deploying matrix build with CI‑safe env values.
- New Features
- Adds
build-vercel-appsjob to build@superset/api,@superset/web,@superset/marketing,@superset/admin,@superset/docsin a fail-fast-disabled matrix. - Uses Bun with dependency caching and frozen, no-script installs; runs
bun turbo run build --filterper package. - Supplies synthetic env vars (e.g.,
SKIP_ENV_VALIDATION=1, telemetry off, placeholder URLs/keys for DB, Sentry, PostHog, Stripe, KV) so builds succeed without secrets and never deploy.
- Adds
Summary by CodeRabbit
- Chores
- Added a new CI workflow job that builds multiple apps in parallel.
- CI now runs build checks for the API, web, marketing, admin, and docs as separate matrix targets.
- Updated the CI build pipeline to use Bun, cache dependencies, and install with frozen settings for consistent, build-only execution.