Skip to content
file

GitHub Action

Action TS Template

v1 Latest version

Action TS Template

file

Action TS Template

A typescript template for rapid development of GitHub actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Action TS Template

uses: actions-cool/action-ts-template@v1

Learn more about this action in actions-cool/action-ts-template

Choose a version

Action TypeScript Template

A typescript template for rapid development of GitHub actions.

πŸš€ How to use?

πŸ“’ Catalog Introduction

β”œβ”€β”€ .github/workflows/     The CI for make sure it is packaged correctly
β”œβ”€β”€ dist                   Package the generated Aciton execution code
β”œβ”€β”€ src                    Component home directory
β”‚   └── main.ts            Your code
β”œβ”€β”€ .eslintrc.js           Eslint config
β”œβ”€β”€ .prettierrc.js         Prettier config
β”œβ”€β”€ action.yml             Action config
└── tsconfig.json          TypeScript config

The rest of the documents can be consulted by yourself.

πŸ€– Command introduction

Name Desc
build ts build
format prettier write
lint eslint check
package action build for release
all npm all

⚑ Feedback

You are very welcome to try it out and put forward your comments. You can use the following methods:

  • Report bugs or consult with Issue
  • Submit Pull Request to improve the code of action-ts-template

也欒迎加ε…₯ 钉钉亀桁羀

Changelog

CHANGELOG

LICENSE

MIT