cikit

0.0.0 • Public • Published

cikit

CI toolkit for JavaScript applications.

Installation

$ npm install -g cikit
$ ci init # initialize ci.js

Configuration

// ci.js
export default {
  os: ["ubuntu-latest", "windows-latest", "macos-latest"],
  install: {
    node: [18, 20],
    pnpm: 8,
  },
  test: "vitest",
  build: "rollup",
  deploy: "wrangler deploy",
}

Run CI

$ ci
⌁ Installing node...
  ✦ Node.js v20.0.1 is already installed on the system

⌁ Installing pnpm...
  ✔︎ pnpm 8.0.1 is installed

✦ Found package.json, installing dependencies...
  ✔︎ Dependencies installed

◦ Running test task...
  ✔︎ `vitest` passed (5s)

◦ Running build task...
  ✔︎ `rollup` done (2s)

✦ CI changed, updating .github/workflows/ci.yml...
  ✔︎ Updated

Deploy

$ ci deploy
◦ Running deploy task...
  ✔︎ Deployed

Publish

$ ci publish
> 1.0.1
  1.1.0
  2.0.0
  1.0.0-alpha.1
  1.0.0-beta.1
  1.0.0-rc.1

Readme

Keywords

none

Package Sidebar

Install

npm i cikit

Weekly Downloads

0

Version

0.0.0

License

none

Unpacked Size

1.05 kB

Total Files

2

Last publish

Collaborators

  • ije