@xt0rted/actions-toolkit
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

actions-toolkit

Helper functions, scripts, and Typescript types for working with GitHub Actions.

Scripts

Name Options Description
update-readme --include-example Updates the README.md with tables for inputs, outputs, and optionally a minimal example.

update-readme

This will read the inputs and outputs from the action.yml and build documentation tables from them. Then placeholders in your README.md will be replaced with them

The placeholders are:

  • <!-- start example -->...<!-- end example -->
  • <!-- start inputs -->...<!-- end inputs -->
  • <!-- start outputs -->...<!-- end outputs -->

By default the example isn't built or replaced, you need to pass --include-example to include it.

Types

Name Description
action-yml Types for the action.yml file.

Readme

Keywords

none

Package Sidebar

Install

npm i @xt0rted/actions-toolkit

Weekly Downloads

13

Version

0.0.1

License

MIT

Unpacked Size

127 kB

Total Files

5

Last publish

Collaborators

  • xt0rted