https://github.com/fwilhe2/action-template
Template for a GitHub Action using Typescript and yarn
https://github.com/fwilhe2/action-template
actions typescript yarn
Last synced: 5 months ago
JSON representation
Template for a GitHub Action using Typescript and yarn
- Host: GitHub
- URL: https://github.com/fwilhe2/action-template
- Owner: fwilhe2
- Created: 2022-06-17T17:54:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T17:08:03.000Z (5 months ago)
- Last Synced: 2026-01-19T23:18:03.933Z (5 months ago)
- Topics: actions, typescript, yarn
- Language: TypeScript
- Homepage:
- Size: 7.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Action Template using Typescript and yarn
Template for a Github Action using Typescript and Yarn
Based on [actions/typescript-action](https://github.com/actions/typescript-action)
Sample yaml snippet:
```yaml
- 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
```sh
yarn
```
### Build Artifact
```sh
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](https://help.github.com/en/articles/metadata-syntax-for-github-actions)
### Upgrade Dependencies
```sh
yarn run dependency-upgrade
```