1. egg-ci
Auto gen ci config file
egg-ci
Package: egg-ci
Created by: eggjs
Last modified: Sat, 29 Oct 2022 12:32:38 GMT
Version: 2.2.0
License: MIT
Downloads: 80,990
Repository: https://github.com/eggjs/egg-ci

Install

npm install egg-ci
yarn add egg-ci

egg-ci

NPM version
Node.js CI
Test coverage
npm download

Auto gen GitHub Action ci config file.

Installation

 $ npm i egg-ci --save-dev

Usage

Add ci property to your package.json:

 "ci": {
  "os": "linux, windows, macos",
  "npminstall": false, // use `npminstall` or `npm install`, default is false
  "version": "14, 16, 18", // test LTS node version by default
  // npm ci command
  "command": "ci",
  // custom service, only support on "linux" os, if you enable service, os will set to "linux" only
  "service": {
    "mysql": {
      "version": "8"
    },
    "redis-server": {
      "version": "6"
    }
  },
  "license": false // generate license
}

How

Use npm postinstall hook to create the *.yml after each npm install run.

License

MIT

Contributors


fengmk2


atian25


dead-horse


popomore


ngot


thonatos


azure-pipelines[bot]


ahungrynoob


zhennann

This project follows the git-contributor spec, auto updated at Fri Jun 03 2022 17:58:16 GMT+0800.

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin