- This action requires Node16, it won't work with other Node versions.
- This action is written in TypeScript. To compile the package to JavaScript run
npm run build. - To package the build to run run
npm run package. - There is Prettier auto-formatting available, run
npm run lint -- --fix. - In order to run the integration tests the environment variable
INPUT_GITHUBTOKENneeds to be set with a validGITHUB_TOKEN
To enable git hooks for auto building githooks should be used. This enables the hooks in the .githooks folder. Which checks for a correct commit message and auto builds on commit.
In order to run the tests locally a GitHub token is needed to run some integration tests. To set enable these tests the environment variable INPUT_GITHUBTOKEN needs to be set.