Skip to content

Expose an option to customise schema combination #618

Expose an option to customise schema combination

Expose an option to customise schema combination #618

Triggered via pull request January 27, 2025 12:54
Status Failure
Total duration 1m 21s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
typecheck
Type '(shape: { SKIP_AUTH: ZodOptional<ZodBoolean>; EMAIL: ZodOptional<ZodString>; PASSWORD: ZodOptional<ZodString>; }) => ZodEffects<...>' is not assignable to type '(shape: { SKIP_AUTH: ZodOptional<ZodBoolean>; EMAIL: ZodOptional<ZodString>; PASSWORD: ZodOptional<ZodString>; }) => DefaultCombinedSchema<...>'.
typecheck
@t3-oss/env-core#typecheck: command (/home/runner/work/t3-env/t3-env/packages/core) /home/runner/.bun/bin/bun run typecheck exited (2)
typecheck
Type 'Readonly<{ SKIP_AUTH?: boolean | undefined; EMAIL?: string | undefined; PASSWORD?: string | undefined; }>' does not satisfy the constraint '{ SKIP_AUTH: boolean | undefined; EMAIL: string | undefined; PASSWORD: string | undefined; }'.
typecheck
Process completed with exit code 2.
error: Invalid environment variables: packages/core/src/index.ts#L298
at /home/runner/work/t3-env/t3-env/packages/core/src/index.ts:298:13 at /home/runner/work/t3-env/t3-env/packages/core/test/smoke-zod.test.ts:667:17
test
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636