Skip to content

Commit d9244ee

Browse files
committed
Update lint workflow to skip T3 env validation during build
1 parent 6e138a4 commit d9244ee

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,5 @@ jobs:
7676
run: exit ${{ steps.lint.outputs.exit_code }}
7777
- name: Build
7878
run: pnpm run build --no-lint
79+
env:
80+
SKIP_T3_ENV_VALIDATION: 'true'

src/lib/env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ export const env = createEnv({
1111
NEXT_PUBLIC_SENTRY_DSN: process.env.NEXT_PUBLIC_SENTRY_DSN,
1212
},
1313
extends: [vercel()],
14+
skipValidation: process.env.SKIP_T3_ENV_VALIDATION === 'true',
1415
});

0 commit comments

Comments
 (0)