Awesome
Github Action Template
Use this template to bootstrap the creation of a TypeScript action.
Features
- πͺοΈ All of the code is written in TypeScript
- β¨ Fully customized eslint configuration based on the config by Antfu
- π§ͺ Write tests quickly and conveniently with vitest
- π€ Supports conventional commits
- π Generate beautiful changelogs with changelogen
- βΎοΈ GitHub CI for your build
- π’ Issue templates
- π Pull request template
- π€ Ready configuration for renovatebot with renovate-config
- π Action releases with just one command
Get started
GitHub Template
This is a template repo. Click the green Use this template button to get started.
Git Clone
git clone https://github.com/hywax/github-action-template.git
cd github-action-template
pnpm install
Usage
The template contains the following scripts:
build
- Build for productionrelease
- Generate changelog and npm publishlint
- Checks your code for any linting errorstest
- Run all teststest:watch
- Run all tests with watch modetest:coverage
- Run all tests with code coverage reporttypecheck
- Run TypeScript type checkingprepare
- Script for setting up husky hooks
Used by
If you are using this template, feel free to open a PR to add your project to the list.
License
This template was created under the MIT License.