https://github.com/brandonc/typescript-action
Template repository for building github actions with Typescript
https://github.com/brandonc/typescript-action
github-actions template typescript
Last synced: 3 months ago
JSON representation
Template repository for building github actions with Typescript
- Host: GitHub
- URL: https://github.com/brandonc/typescript-action
- Owner: brandonc
- Created: 2022-11-18T00:30:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-01T18:22:38.000Z (6 months ago)
- Last Synced: 2024-12-28T16:26:28.141Z (5 months ago)
- Topics: github-actions, template, typescript
- Language: TypeScript
- Homepage:
- Size: 323 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Template Typescript Action
A template repository for building javascript github actions in Typescript. Here is the tooling setup:
- [tsup](https://github.com/egoist/tsup) compiles typescript to a single file, including dependencies-- just add all dependencies to devDependencies
- ts-jest testing
- prettier formatting
- CI checks
- pre-commit protections## Install
`npm install`
`npm prepare`## Run Tests
`npm run test`
---
Example README for Actions follows
---
# Template Typescript Action
This action logs a phrase given as input
## Inputs
### `motd`
**Optional** The phrase to log