1.5.1 • Published 6 years ago

@gitm8/ci-test v1.5.1

Weekly downloads
9
License
Apache-2.0
Repository
github
Last release
6 years ago

CI/CD test repo

npm version npm

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:

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:

CommandDescription
npm testall tests (including linting and dependency checks) go here
npm run buildtriggering a build (MUST exist and exit with 0)

environment variables

CI has to set the following environment variables:

envusecasewhere to get
GH_TOKENpush tags and updated files to GitHubGitHub personal API token (set repo scope)
NPM_TOKENpublish package to NPM registryNPM API token

ToDo

  • add code coverage
  • add dependency check
  • add linting
1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago