mirror of
https://github.com/tschoffelen/gha.git
synced 2024-09-12 00:27:34 +03:00
27 lines
490 B
Markdown
27 lines
490 B
Markdown
|
# GitHub Actions Tester
|
||
|
|
||
|
This Node application exposes an executable that allows you to test
|
||
|
your GitHub workflow locally using Docker.
|
||
|
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
Install using [NPM](https://npmjs.com):
|
||
|
|
||
|
```
|
||
|
npm i -g gha
|
||
|
```
|
||
|
|
||
|
|
||
|
### 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
|
||
|
```
|