source: node_modules/ci-info/index.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[d24f17c]1// This file is generated at pre-commit by running `node create-typings.js`.
2
3/**
4 * Returns a boolean. Will be `true` if the code is running on a CI server,
5 * otherwise `false`.
6 *
7 * Some CI servers not listed here might still trigger the `ci.isCI`
8 * boolean to be set to `true` if they use certain vendor neutral environment
9 * variables. In those cases `ci.name` will be `null` and no vendor specific
10 * boolean will be set to `true`.
11 */
12export const isCI: boolean;
13/**
14 * Returns a boolean if PR detection is supported for the current CI server.
15 * Will be `true` if a PR is being tested, otherwise `false`. If PR detection is
16 * not supported for the current CI server, the value will be `null`.
17 */
18export const isPR: boolean | null;
19/**
20 * Returns a string containing name of the CI server the code is running on. If
21 * CI server is not detected, it returns `null`.
22 *
23 * Don't depend on the value of this string not to change for a specific vendor.
24 * If you find your self writing `ci.name === 'Travis CI'`, you most likely want
25 * to use `ci.TRAVIS` instead.
26 */
27export const name: string | null;
28
29export const APPCIRCLE: boolean;
30export const APPVEYOR: boolean;
31export const CODEBUILD: boolean;
32export const AZURE_PIPELINES: boolean;
33export const BAMBOO: boolean;
34export const BITBUCKET: boolean;
35export const BITRISE: boolean;
36export const BUDDY: boolean;
37export const BUILDKITE: boolean;
38export const CIRCLE: boolean;
39export const CIRRUS: boolean;
40export const CODEFRESH: boolean;
41export const CODEMAGIC: boolean;
42export const CODESHIP: boolean;
43export const DRONE: boolean;
44export const DSARI: boolean;
45export const EAS: boolean;
46export const GERRIT: boolean;
47export const GITHUB_ACTIONS: boolean;
48export const GITLAB: boolean;
49export const GOCD: boolean;
50export const GOOGLE_CLOUD_BUILD: boolean;
51export const HARNESS: boolean;
52export const HEROKU: boolean;
53export const HUDSON: boolean;
54export const JENKINS: boolean;
55export const LAYERCI: boolean;
56export const MAGNUM: boolean;
57export const NETLIFY: boolean;
58export const NEVERCODE: boolean;
59export const RELEASEHUB: boolean;
60export const RENDER: boolean;
61export const SAIL: boolean;
62export const SCREWDRIVER: boolean;
63export const SEMAPHORE: boolean;
64export const SHIPPABLE: boolean;
65export const SOLANO: boolean;
66export const SOURCEHUT: boolean;
67export const STRIDER: boolean;
68export const TASKCLUSTER: boolean;
69export const TEAMCITY: boolean;
70export const TRAVIS: boolean;
71export const VERCEL: boolean;
72export const APPCENTER: boolean;
73export const WOODPECKER: boolean;
74export const XCODE_CLOUD: boolean;
75export const XCODE_SERVER: boolean;
Note: See TracBrowser for help on using the repository browser.