Template repository to create a GitHub container action in Node.js with TypeScript.
This basic action takes a name as input and writes the corresponding greeting message to the action logs.
The container action uses the Docker multi-stage build feature available since version 17.05, to compile the TypeScript sources and to copy the compilation result to the final container image. So, it's not necessary to commit the compiled sources to the action repository.
- Strict type checking
- actions-toolkit: A set of packages to make creating actions easier and drive consistency
- Jest: JavaScript Testing Framework with a focus on simplicity
- ESLint: Pluggable linter for JavaScript / TypeScript code
- Prettier: Opinionated code formatter
- Husky & lint-staged: Code formatting on commit
Contributions are welcome!
Want to file a bug, request a feature or contribute some code?
Check out the contribution guidelines.
MIT ยฉ kevinpollet