# jest-ci

> CLI for Jest test framework, but coverage only on first CI job

Latest version **0.1.1** (published 2020-02-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install jest-ci
pnpm add jest-ci
yarn add jest-ci
bun add jest-ci
```

Provides the command `jest-ci`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-02-18 |
| First published | 2020-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 1 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Andrey Sitnik |
| Maintainers | ai |
| Keywords | jest, ci |

## Links

- npm: https://www.npmjs.com/package/jest-ci
- Repository: https://github.com/ai/jest-ci
- Homepage: https://github.com/ai/jest-ci#readme
- Issues: https://github.com/ai/jest-ci/issues
- npm.io page: https://npm.io/package/jest-ci

## Dependencies (1)

- [ci-job-number](https://npm.io/package/ci-job-number.md) ^1.0.0

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2020-02-18
- 0.1.0 — 2020-02-15

## README

# Jest CI

CLI for [Jest](https://jestjs.io/) JS testing framework, which run `--coverage`
only on first CI job.

Checking code coverage uses a lot of resources, but the result doesn’t depend
on Node.js version. You can check coverage only on first CI job and speed up
other jobs by run tests without code coverage.

<a href="https://evilmartians.com/?utm_source=jest-ci">
  <img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
      alt="Sponsored by Evil Martians" width="236" height="54">
</a>


## Usage

1. Add both `jest` and `jest-ci` to dependencies.

   ```sh
   npm i --save-dev jest jest-ci
   ```

2. Use `jest-ci` instead of `jest` in `test` script or CI config:

   ```diff
     "scripts": {
   -   "test": "jest --coverage && eslint ."
   +   "test": "jest-ci --coverage && eslint ."
     }
   ```

---
_Source: https://npm.io/package/jest-ci · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
