When contributing to this repository, please first discuss the change you wish to make via an issue. You can optionally even start a discussion.
- Install docker
- Node 16
- Fork this repository and clone your fork
- Create a feature branch
- Run
npm i
. This installs all dependencies including nektos/act which is non-nodejs dependency. - Make your changes and commit :)
- Push to your branch on Github
- Create a new pull request
If you are making changes to the source code, then you can run the following to test your changes:
# Runs all the tests without code coverage
npm test
or
# Runs all the tests with code coverage
npm run test:report
If you are making changes to the github action workflows in this repository, then you can run the following to test your changes:
npm run test:ci
To ensure that the formatting of your code is consistent, we have a pre-commit hook which will automatically fix any linting issues in all your staged files whenever your run git commit
. Alternatively, you can run npm run lint
to manually review formatting issues.
- This library depends heavily on 2 upstream repositories - nektos/act and kiegroup/mock-github. So for some features/bug fixes you might have to contribute directly to these repositories