We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beea8c9 commit d3bd786Copy full SHA for d3bd786
.github/workflows/ci.yml
@@ -9,6 +9,7 @@ on:
9
env:
10
NODE_ENV: production
11
NEXT_TELEMETRY_DISABLED: 1
12
+ CI: true
13
14
jobs:
15
typecheck:
src/lib/env.ts
@@ -2,6 +2,10 @@ import { createEnv } from "@t3-oss/env-nextjs";
2
import { z } from "zod";
3
4
export const env = createEnv({
5
+ // we don't really need to validate env vars in github actions right now
6
+ // im not using client env vars, so there is nothing to bundle
7
+ skipValidation: process.env.CI === "true",
8
+
/*
* Server-side Environment variables, not available on the client.
* Will throw if you access these variables on the client.
0 commit comments