Commit f07c05a
Fix CI: skip env validation for the build + dry-run steps
CI has failed on every push for months at the Build step: `next build` runs the app's
load-time env validation (@t3-oss/env), which throws "Invalid environment variables"
because CI has no ANTHROPIC_API_KEY / DATABASE_URL secrets. The app validates env at
RUNTIME on Vercel, so the build (and the offline dry-run sanity/evals) only need to skip
the load-time check. Set SKIP_ENV_VALIDATION at the job level. Verified locally with no
secrets: build, sanity --dry-run, eval --dry-run (100%), eval:edit --dry-run (10/10) all
pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 40a3df7 commit f07c05a
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
0 commit comments