https://github.com/kevinpollet/typescript-container-action-template
🐙 Template repository to create a GitHub container action in Node.js with TypeScript
https://github.com/kevinpollet/typescript-container-action-template
container docker github-actions nodejs template typescript
Last synced: over 1 year ago
JSON representation
🐙 Template repository to create a GitHub container action in Node.js with TypeScript
- Host: GitHub
- URL: https://github.com/kevinpollet/typescript-container-action-template
- Owner: kevinpollet
- License: mit
- Created: 2019-05-14T07:11:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:48:35.000Z (over 3 years ago)
- Last Synced: 2024-03-15T03:54:48.399Z (over 2 years ago)
- Topics: container, docker, github-actions, nodejs, template, typescript
- Language: TypeScript
- Homepage:
- Size: 695 KB
- Stars: 26
- Watchers: 4
- Forks: 6
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# TypeScript Container Action Template
[][9]
[][9]
[][10]
[][1]
Template repository to create a GitHub container action in Node.js with TypeScript.
## How does it work?
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.
## Features
- Strict type checking
- [actions-toolkit][3]: A set of packages to make creating actions easier and drive consistency
- [Jest][4]: JavaScript Testing Framework with a focus on simplicity
- [ESLint][5]: Pluggable linter for JavaScript / TypeScript code
- [Prettier][6]: Opinionated code formatter
- [Husky][7] & [lint-staged][8]: Code formatting on commit
## Contributing
Contributions are welcome!
Want to file a bug, request a feature or contribute some code?
Check out the [contribution guidelines][2].
## License
[MIT][1]
[1]: ./LICENSE.md
[2]: ./CONTRIBUTING.md
[3]: https://github.com/actions/toolkit
[4]: https://jestjs.io/
[5]: https://github.com/typescript-eslint/typescript-eslint#typescript-eslint
[6]: https://prettier.io/
[7]: https://github.com/typicode/husky
[8]: https://github.com/okonet/lint-staged
[9]: https://github.com/kevinpollet/typescript-container-action-template/actions
[10]: https://github.com/kevinpollet/typescript-container-action-template/generate