Skip to content

@stephansama/types-lhci

types for lhci configuration

Open Table of contents
Terminal window
pnpm install @stephansama/types-lhci
import { lhciSchema, type LhciSchema } from "@stephansama/types-lhci";
const config = {
ci: {
upload: {
githubAppToken: process.env.GITHUB_APP_TOKEN,
serverBaseUrl: "https://lhci.example.com",
target: "lhci",
token: "project-token",
},
},
} satisfies LhciSchema;

you can also verify the config object later

lhciSchema.parse(config);
Type Alias Description

LhciAssertSchema

LhciBasicAuthSchema

LhciCollectSchema

LhciSchema

LhciServerSchema

LhciUploadSchema

LhciWizardSchema

Variable Description

lhciAssertSchema

lhciBasicAuthSchema

lhciCollectSchema

lhciSchema

lhciServerSchema

lhciUploadSchema

lhciWizardSchema