Releases: tkstang/github-typescript
Releases · tkstang/github-typescript
Release v1.0.4
🎉 First Marketplace Release!
GitHub Script TypeScript Wrapper lets you write GitHub Actions workflows in TypeScript with full dependency bundling support.
✨ Key Features
- 🔧 TypeScript Support - Write workflow logic in TypeScript with full type safety
- 📦 Dependency Bundling - Bundle npm packages (like
axios,github-typescript-utils) with esbuild - ⚡ Fast & Cached - esbuild compilation with intelligent caching
- 🎯 Node.js Targeting - Choose your Node.js version for bundling (20, 22, etc.)
- 🔄 Full github-script Compatibility - All
github-scriptinputs supported
🚀 Quick Start
1. Create a TypeScript script:
// .github/scripts/my-script.ts
export default async function run({ core, github, context, args }) {
core.info(`Hello from TypeScript! Repo: ${context.repo.repo}`);
return { success: true, message: args.message };
}2. Use in your workflow:
- uses: tkstang/github-typescript@v1.0.4
with:
ts-file: .github/scripts/my-script.ts
node-version: "22"
args: |
{
"message": "Hello World!"
}📚 Documentation
Release v1.0.3
🚀 Usage
- uses: tkstang/github-typescript@v1.0.3
with:
ts-file: .github/scripts/my-script.ts
node-version: "22"
args: |
{
"key": "value"
}📋 Full Changelog
See below for auto-generated release notes.
Full Changelog: v1...v1.0.3