ci-scripts

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

5 个版本
安装
npm install ci-scripts
yarn add ci-scripts
pnpm add ci-scripts
bun add ci-scripts
README

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.

版本列表
0.11.0 2019-10-14
0.10.0 2018-05-16
0.9.0 2018-05-15
0.8.2 2018-05-12
0.8.1 2018-05-12