@stephansama/types-lhci
v0.2.0
Published
types for lhci configuration
Readme
@stephansama/types-lhci
types for lhci configuration
Table of contents
Installation
pnpm install @stephansama/types-lhciUsage
import { lhciSchema } from "@stephansama/types-lhci";
/** @type {import('../dist/index.d.cts').LhciSchema} */
const config = {
ci: {
upload: {
githubAppToken: process.env.GITHUB_APP_TOKEN,
serverBaseUrl: "https://lhci.example.com",
target: "lhci",
token: "project-token",
},
},
};you can also verify the config object later
lhciSchema.parse(config);