Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 990 Bytes

dev_notes.md

File metadata and controls

15 lines (10 loc) · 990 Bytes

Developer notes

  • 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_GITHUBTOKEN needs to be set with a valid GITHUB_TOKEN

Git hooks

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.

Testing

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.