00mjk / typescript-container-action-template

πŸ™ Template repository to create a GitHub container action in Node.js with TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 70.7%Language:Dockerfile 29.3%