jelhan / create-github-actions-setup-for-ember-addon

Setup GitHub Actions for an Ember Addon
MIT License
19 stars 2 forks source link

Create GitHub Actions setup for Ember Addon

Creates GitHub Actions for Ember Addon with NPM init / yarn create command.

This is early alpha software. Use with care and double check the generated GitHub Actions workflow.

Features

Usage

# in a yarn repo
yarn create github-actions-setup-for-ember-addon

# in an npm repo
npm init github-actions-setup-for-ember-addon

The configuration to be used depends on the repository. It is determined using this algorithm:

  1. Use configuration persisted in .github/workflows/ci.yml by a previous run if exists.
  2. Analyse .travis.yml if one exist.
  3. Fallback to defaults.

Defaults

The script tries to calculate sensitive defaults if no configuration from a previous run nor an existing .travis.yml is found. The defaults are calculated based on the actual project:

Limitations of Travis CI parser

Contributing

Merge requests are very much appreciated. Parts that could be improved are:

Contributing documentation is provided in CONTRIBUTING.md to lower entry barrier. In case you face additional questions do not hesitate to either open an issue or contact me (@jelhan) on Ember Community Discord.

License

This project is licensed under the MIT License.