0.11.0 • Published 5 years ago

ci-scripts v0.11.0

Weekly downloads
778
License
-
Repository
github
Last release
5 years ago

ci-scripts

Useful scripts to execute from your CI runner. For example, post to Slack and GitHub when your build completes:

Install
npm install ci-scripts
CLI usage
ci slack
Node usage
const {exec} = require('ci-scripts');

exec(['echo'], {message: 'It works'});

Docs

Commands
CLI Params
ci-scripts v0.10.0

  Usage: ci <command> [sub-command] [subsub-command] [options]

  Use e.g. "ci slack --webhook=http://..." will post message to Slack".
  See https://github.com/streamich/ci-scripts for more commands.

  --config              Path to configuration file [default: "ci.config.js"]
  --plan, --dry-run     Do not touch or write anything, but show the commands
  --debug               Print debug information
  -h, --help            Print this help
  -v, --version         Print version number
  -V, --verbose         Verbose output
ci.config.js File

Optionally, you can add a ci.config.js file to your project, see config file reference.