Back to Explore

watson/ci-info

GitHub
1 watchersOpen source

Last release:

ci-info is a JavaScript package that detects and reports details about the current Continuous Integration environment. It lets you check whether code is running on a CI server (ci.isCI) and get the detected CI server name (ci.name), with additional flags such as isPR and CI vendor-specific constants.

Project status

  • The watson/ci-info GitHub source appears actively maintained, with multiple recent tagged updates and new vendor detection logic (for example, v4.4.0 adds a new CI vendor, plus documentation and dev-tooling dependency updates).
  • Apparent update cadence is moderate, with the latest updates on 2026-01-29 (v4.4.0), following earlier updates in 2025 (v4.3.1 on 2025-10-05, v4.3.0 on 2025-07-06). This suggests continued evolution through at least early 2026.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v4.4.0

    v4.4.0 adds support for a new CI vendor (referenced in the release notes as "aplic"). The implementation adds a new exported vendor constant and detection logic, and updates documentation and dev-tooling dependencies.

    Features
  • v4.3.1

    v4.3.1 is a small bug-fix release focused on honoring the env.CI = 'false' override. The code change prevents vendor/environment detection logic from running when CI is explicitly disabled, and it also updates repository CI workflows to test newer Node versions.

  • v4.3.0

    v4.3.0 adds Cloudflare Workers detection to the ci-info library. It introduces a new exported constant (CLOUDFLARE_WORKERS) and corresponding vendor configuration plus tests and documentation updates.

    Features
  • v4.2.0

    v4.2.0 adds detection support for Cloudflare Pages CI. When the Cloudflare Pages environment variable CF_PAGES is present, the library reports CI as active and exposes a new vendor constant for Cloudflare Pages.

    Features
  • v4.1.0

    v4.1.0 adds a new `ci.id` export, intended to expose the vendor constant identifier, and updates pull request detection for Appcircle and AWS CodeBuild. The implementation also refactors PR detection into a dedicated helper and updates typings accordingly.

    Features
  • v4.0.0

    v4.0.0 adds CI environment detection support for Earthly, Prow, Vela, Agola, and Gitea Actions by introducing new exported constants and vendor rules. It also removes Shippable and Solano support as a breaking change. The project’s test workflow matrix is expanded to include Node.js 20.

    BreakingFeatures
  • v3.9.0

    v3.9.0 improves Azure Pipelines support, specifically by detecting pull request builds in that environment. The diff also updates Vercel pull request detection and changes the default shape/value of the isPR flag in non-PR scenarios, plus bumps a few development dependencies.

    Features
  • v3.8.0

    This release (v3.8.0) adds support for Harness CI. The release notes only mention Harness, but the code diff shows additional CI vendor wiring and a reordering of the underlying vendor definitions.

    Features
  • v3.7.1

    Release v3.7.1 includes a bug fix to ensure CI detection does not trigger when the environment variable CI is explicitly set to the string 'false'. The change updates how isCI is computed, and a unit test was added to cover the bypass behavior.

  • v3.7.0

    Release v3.7.0 adds CI environment detection support for Sourcehut CI and ReleaseHub CI. The implementation updates the vendor detection list, TypeScript type declarations, documentation, and adds corresponding test coverage.

    Features