🔧 Test your GitHub Actions workflow locally.
Go to file
Thomas Schoffelen b83dc4f57a
Improved README
2018-12-31 19:23:49 +01:00
lib Initial commit 2018-12-31 18:13:07 +01:00
.gitignore Added .npmignore. 2018-12-31 18:17:14 +01:00
.npmignore Added .npmignore. 2018-12-31 18:17:14 +01:00
index.js Initial commit 2018-12-31 18:13:07 +01:00
package-lock.json 1.0.1 2018-12-31 18:17:19 +01:00
package.json 1.0.1 2018-12-31 18:17:19 +01:00
README.md Improved README 2018-12-31 19:23:49 +01:00

GitHub Actions Tester

This Node application exposes an executable that allows you to test your GitHub workflow locally using Docker.

Installation

Install using NPM:

npm i -g gha

Other prerequisites:

  • A local installation of Docker
  • A repo with a .github/main.workflow file

Usage

Usage: gha [options]

Options:
  -V, --version      output the version number
  -f <workflowfile>  Set workflow file path, defaults to .github/main.workflow
  -e <event>         Set event, defaults to push
  -h, --help         output usage information

Development

This app currently only supports Github-hosted Dockerfiles (i.e. with the {user}/{repo}@{ref} or {user}/{repo}/{path}@{ref} syntax), so we still need to add:

Some improvements are also possible in other areas: