1.3.5 • Published 3 years ago

github-workflow-manager v1.3.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Github Workflow Manager

Easily install Github workflows for common patterns such as publishing an npm module on pushes to master or pushing a Dockerfile.

demo_usage_gif

This is not an official Github project.

Installation

npm install -g github-workflow-manager

Or to execute without installation:

npx github-workflow-manager install <some workflow>

Usage

gwm [command]

Commands:
  gwm ls       List installed workflows
  gwm edit     Edit an existing workflow
  gwm install  Install a github workflow

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Workflows

gwm install build-dockerfile

Build and push a Dockerfile

Automatically build a Dockerfile at the root of your repository and push it to docker hub.

gwm install npm-semantic-release

Build and publish new npm versions, using commits to increment version numbers.

Every time you make a commit, add one of the following tags before it:

typeversioncommit message
patch release..x"fix: "
feature release_.x.0"feat: "
breaking releasex.0.0"BREAKING CHANGE: "

When merged to master, these commits will be analyzed and new versions of your package will be published.

gwm install npm-test

Run the test script in package.json

A github check with "npm run test" will be run on any pull request.

gwm install prettier

Check that all files are formatted with prettier

Any time a pull request is opened, github will make sure all files are formatted with prettier.

To ignore files, use a ".prettierignore" file in the root of the repository.