mirror of
https://github.com/jnstockley/gh-action-starter.git
synced 2026-06-05 11:27:56 -05:00
No description
- TypeScript 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| src | ||
| tests | ||
| .gitignore | ||
| action.yml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| SECURITY.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
GitHub Action Starter
A production-ready starter template for building TypeScript-based GitHub Actions.
Usage
- name: Run the starter action
uses: your-org/gh-action-starter@v1
with:
name: "Octo"
Inputs
name: Name to greet. Default:World.
Outputs
message: The greeting message.
Development
Requirements: Node.js 20+
npm install
npm test
npm run bundle
npm run bundlebuildsdist/index.js, which must be committed for GitHub Actions to run this action.- Update
action.ymlwhen you add inputs or outputs.
Release
- Run
npm testandnpm run bundle. - Commit the changes, including
dist/. - Create and push a tag, for example
v1.0.0. - (Optional) Move a major tag like
v1to the new release.
License
ISC