Skip to content

🐙 Template repository to create a GitHub container action in Node.js with TypeScript

License

Notifications You must be signed in to change notification settings

kevinpollet/typescript-container-action-template

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

TypeScript Container Action Template

Build Status Run Status Use this template License

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: 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

Contributing

Contributions are welcome!

Want to file a bug, request a feature or contribute some code?

Check out the contribution guidelines.

License

MIT

About

🐙 Template repository to create a GitHub container action in Node.js with TypeScript

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published