{"id":39608361,"url":"https://github.com/emmanuelnk/github-actions-workflow-ts","last_synced_at":"2026-01-29T16:00:44.370Z","repository":{"id":191001500,"uuid":"683523807","full_name":"emmanuelnk/github-actions-workflow-ts","owner":"emmanuelnk","description":"Write Github Actions workflow files in TypeScript (generates JSON and compiles to YAML)","archived":false,"fork":false,"pushed_at":"2026-01-18T16:09:48.000Z","size":482,"stargazers_count":143,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-18T16:17:14.403Z","etag":null,"topics":["actions","cicd","github-actions","javascript","typescript","yaml"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emmanuelnk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-08-26T21:00:45.000Z","updated_at":"2026-01-18T16:09:51.000Z","dependencies_parsed_at":"2023-08-27T16:45:13.631Z","dependency_job_id":"3feda5b9-7159-438f-872c-02cab198a46f","html_url":"https://github.com/emmanuelnk/github-actions-workflow-ts","commit_stats":null,"previous_names":["emmanuelnk/github-actions-workflow-ts"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/emmanuelnk/github-actions-workflow-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuelnk%2Fgithub-actions-workflow-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuelnk%2Fgithub-actions-workflow-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuelnk%2Fgithub-actions-workflow-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuelnk%2Fgithub-actions-workflow-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmanuelnk","download_url":"https://codeload.github.com/emmanuelnk/github-actions-workflow-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuelnk%2Fgithub-actions-workflow-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28880823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","cicd","github-actions","javascript","typescript","yaml"],"created_at":"2026-01-18T08:02:00.344Z","updated_at":"2026-01-29T16:00:44.365Z","avatar_url":"https://github.com/emmanuelnk.png","language":"TypeScript","readme":"# github-actions-workflow-ts\n\nWrite GitHub Actions workflows in TypeScript instead of YAML!\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/emmanuelnk/github-actions-workflow-ts/assets/19330930/9121bb33-cd51-41f3-830f-9b4bd1117320\" alt=\"github-actions-workflow-ts-logo\" width=\"400\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\n  \u003ca href=\"https://github.com/emmanuelnk/github-actions-workflow-ts\"\u003e\n      \u003cimg src=\"https://raw.githubusercontent.com/ellerbrock/open-source-badges/master/badges/open-source-v1/open-source.png\" alt=\"love opensource\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/emmanuelnk/github-actions-workflow-ts/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"license\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@github-actions-workflow-ts/lib\"\u003e\n      \u003cimg src=\"https://img.shields.io/npm/v/@github-actions-workflow-ts/lib.svg\" alt=\"npm version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/emmanuelnk/github-actions-workflow-ts/actions/workflows/test.yml\"\u003e\n      \u003cimg src=\"https://github.com/emmanuelnk/github-actions-workflow-ts/actions/workflows/test.yml/badge.svg\" alt=\"Tests\"\u003e\n  \u003c/a\u003e\n      \u003ca href=\"https://github.com/emmanuelnk/github-actions-workflow-ts/actions/workflows/schema-change-check.yml\"\u003e\n      \u003cimg src=\"https://github.com/emmanuelnk/github-actions-workflow-ts/actions/workflows/schema-change-check.yml/badge.svg\" alt=\"Schema Change Check\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/emmanuelnk/github-actions-workflow-ts/actions\"\u003e\n      \u003cimg src=\"https://emmanuelnk.github.io/github-actions-workflow-ts/badges/coverage.svg\" alt=\"coverage\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/emmanuelnk/github-actions-workflow-ts/issues\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/issues/emmanuelnk/github-actions-workflow-ts.svg\" alt=\"issues\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Quick Install\n\n```bash\nnpm install --save-dev @github-actions-workflow-ts/lib @github-actions-workflow-ts/cli\n```\n\n## Quick Example\n\n```typescript\n// workflows/ci.wac.ts\nimport { Workflow, NormalJob, Step } from '@github-actions-workflow-ts/lib'\n\nconst testJob = new NormalJob('test', {\n  'runs-on': 'ubuntu-latest',\n}).addStep(new Step({\n  name: 'Checkout',\n  uses: 'actions/checkout@v4',\n})).addStep(new Step({\n  name: 'Run tests',\n  run: 'npm test',\n}))\n\n// Every Workflow instance MUST be exported\nexport const ci = new Workflow('ci', {\n  name: 'CI',\n  on: {\n    push: { branches: ['main'] },\n    pull_request: { branches: ['main'] },\n  },\n}).addJob(testJob)\n```\n\nGenerate the YAML:\n\n```bash\nnpx gwf build\n```\n\nSee more examples in the [./examples](./examples) folder and their respective output in [./.github/workflows](./.github/workflows).\n\n## Documentation\n\n**[View Full Documentation](https://github-actions-workflow-ts.vercel.app/)**\n\n- [Installation](https://github-actions-workflow-ts.vercel.app/docs/getting-started/installation)\n- [Quick Start](https://github-actions-workflow-ts.vercel.app/docs/getting-started/quick-start)\n- [Writing Workflows](https://github-actions-workflow-ts.vercel.app/docs/guides/writing-workflows)\n- [Helpers](https://github-actions-workflow-ts.vercel.app/docs/core-concepts/helpers)\n- [Typed Actions](https://github-actions-workflow-ts.vercel.app/docs/guides/typed-actions)\n- [API Reference](https://github-actions-workflow-ts.vercel.app/docs/api-reference)\n\n## Packages\n\n| Package | Description |\n|---------|-------------|\n| [@github-actions-workflow-ts/lib](https://www.npmjs.com/package/@github-actions-workflow-ts/lib) | Core library (zero dependencies) |\n| [@github-actions-workflow-ts/cli](https://www.npmjs.com/package/@github-actions-workflow-ts/cli) | CLI for generating YAML files |\n| [@github-actions-workflow-ts/actions](https://www.npmjs.com/package/@github-actions-workflow-ts/actions) | Typed wrappers for popular actions |\n\n## Try It Out\n\nExplore on CodeSandbox:\n- [Simple Example](https://codesandbox.io/p/devbox/github-actions-workflow-ts-2vthc5?file=%2Fsrc%2Fworkflows%2Fsimple.example.wac.ts)\n- [Advanced Example](https://codesandbox.io/p/devbox/github-actions-workflow-ts-2vthc5?file=%2Fsrc%2Fworkflows%2Fadvanced.example.wac.ts)\n\n## Contributing\n\nSee the [Contributing Guide](https://github-actions-workflow-ts.vercel.app/docs/contributing/development-setup)\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelnk%2Fgithub-actions-workflow-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmanuelnk%2Fgithub-actions-workflow-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelnk%2Fgithub-actions-workflow-ts/lists"}