Skip to content
/ action-template Public template

Template for a GitHub Action using Typescript and yarn

Notifications You must be signed in to change notification settings

fwilhe2/action-template

Repository files navigation

Action Template using Typescript and yarn

Template for a Github Action using Typescript and Yarn

Based on actions/typescript-action

Sample yaml snippet:

      - uses: fwilhe2/action-template@main
        with:
          guest_name: Thomas

Run the action manually on the cli: INPUT_GUEST_NAME=Michael node dist/index.js

Development

Install Dependencies

yarn

Build Artifact

yarn run all

Change action.yml

The action.yml defines the inputs and output for your action.

Update the action.yml with your name, description, inputs and outputs for your action.

See the documentation

Upgrade Dependencies

yarn run dependency-upgrade