# @gitm8/ci-test

> test setup for CI/CD pipeline with travisCI

Latest version **1.5.1** (published 2018-05-23) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @gitm8/ci-test
pnpm add @gitm8/ci-test
yarn add @gitm8/ci-test
bun add @gitm8/ci-test
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.1 |
| Published | 2018-05-23 |
| First published | 2018-05-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Doc |
| Maintainers | gitm8 |
| Keywords | test, CI, travisCI, CD |

## Links

- npm: https://www.npmjs.com/package/@gitm8/ci-test
- Repository: https://github.com/thegitm8/ci-test
- Homepage: https://github.com/thegitm8/ci-test#readme
- Issues: https://github.com/thegitm8/ci-test/issues
- npm.io page: https://npm.io/package/@gitm8/ci-test

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 1.5.1 (latest) — 2018-05-23
- 1.5.0 — 2018-05-23
- 1.4.1 — 2018-05-22
- 1.4.0 — 2018-05-22
- 1.3.3 — 2018-05-22
- 1.3.2 — 2018-05-22
- 1.3.1 — 2018-05-22
- 1.2.2 — 2018-05-22
- 1.2.1 — 2018-05-21

## README

# CI/CD test repo

[![npm version](https://badge.fury.io/js/%40gitm8%2Fci-test.svg)](https://badge.fury.io/js/%40gitm8%2Fci-test)
[![npm](https://img.shields.io/npm/l/%40gitm8%2Fci-test.svg)](./LICENSE)

Testing CI/CD for npm packages. Goal is to be able to just write business logic in libraries (or any package) you develop, without caring about release. EVER.

## install and setup

Install the following packages:
```Shell
npm i -g \
  commitizen \
  cz-conventional-changelog \
  eslint \
  eslint-config-airbnb-base \
  eslint-plugin-import
```

## expected interface
The application/library/package MUST expose the following commands:

Command|Description
---|---
`npm test`|all tests (including linting and dependency checks) go here
`npm run build`|triggering a build (MUST exist and exit with 0)


## environment variables
CI has to set the following environment variables:

env|usecase|where to get
---|---|---
`GH_TOKEN`|push tags and updated files to GitHub|[GitHub personal API token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) (set `repo` scope)
`NPM_TOKEN`|publish package to NPM registry|[NPM API token](https://docs.npmjs.com/getting-started/working_with_tokens#how-to-create-new-tokens)

## ToDo
* [ ] add code coverage
* [ ] add dependency check
* [ ] add linting

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