{"id":25000290,"url":"https://github.com/neo-hack/actions-template","last_synced_at":"2026-04-28T20:05:55.279Z","repository":{"id":45460810,"uuid":"413869743","full_name":"neo-hack/actions-template","owner":"neo-hack","description":"a fork version of typescript-action, self use.","archived":false,"fork":false,"pushed_at":"2023-02-11T12:26:57.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T19:40:39.075Z","etag":null,"topics":["actions"],"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/neo-hack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"JiangWeixian","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-10-05T15:14:07.000Z","updated_at":"2021-12-13T01:21:15.000Z","dependencies_parsed_at":"2023-07-16T12:17:45.841Z","dependency_job_id":null,"html_url":"https://github.com/neo-hack/actions-template","commit_stats":null,"previous_names":["spring-catponents/actions-template"],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo-hack%2Factions-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo-hack%2Factions-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo-hack%2Factions-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neo-hack%2Factions-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neo-hack","download_url":"https://codeload.github.com/neo-hack/actions-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246230499,"owners_count":20744346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"],"created_at":"2025-02-04T19:33:13.823Z","updated_at":"2026-04-28T20:05:55.197Z","avatar_url":"https://github.com/neo-hack.png","language":"TypeScript","funding_links":["https://github.com/sponsors/JiangWeixian"],"categories":[],"sub_categories":[],"readme":"# @aiou/actions-template\n*a fork version of [typescript-action](https://github.com/actions/typescript-action), self use*\n\n[![npm](https://img.shields.io/npm/v/@aiou/actions-template)](https://github.com/spring-catponents/actions-template) [![GitHub](https://img.shields.io/npm/l/@aiou/actions-template)](https://github.com/spring-catponents/actions-template) [![stackblitz](https://img.shields.io/badge/%E2%9A%A1%EF%B8%8Fstackblitz-online-blue)](https://github.com/spring-catponents/actions-template)\n\n[Edit on StackBlitz ⚡️](https://github.com/spring-catponents/actions-template)\n\nUse this template to bootstrap the creation of a Typescript action.:rocket:\n\nThis template includes tests, linting, a validation workflow, publishing, and versioning guidance.\n\n## features\n\n- 💪 Typescript - type safe\n- 🦋 Changeset - modern changelog/version tool\n- 📦 pnpm - much faster than yarn and npm\n  \n## development\n\nSetup environment(if actions rely on environment)\n\n1. copy `.env.sample` file to `.env`\n2. replace with real environment\n\nMost toolkit and CI/CD operations involve async operations so the action is run in an async function.\n\n```javascript\nconst core = require('@actions/core');\n...\n\nasync function run() {\n  try {\n      ...\n  }\n  catch (error) {\n    core.setFailed(error.message);\n  }\n}\n\nrun()\n```\n\nSee the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.\n\n### change action.yml\n\nThe action.yml defines the inputs and output for your action.\n\nUpdate the action.yml with your name, description, inputs and outputs for your action.\n\nSee the [documentation](https://help.github.com/en/articles/metadata-syntax-for-github-actions)\n\n\n### publish\n\nGitHub Actions will run the entry point from the action.yml. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.\n\nActions are run from GitHub repos.  Packaging the action will create a packaged action in the dist folder.\n\nRun `build`\n\n```bash\npnpm run build\n```\n\nSince the packaged index.js is run from the dist folder.\n\n```bash\ngit add dist\n```\n\n### release\n\nUsers shouldn't consume the action from master since that would be latest code and actions can break compatibility between major versions.\n\nCheckin to the v1 release branch\n\n```bash\ngit checkout -b v1\ngit commit -a -m \"v1 release\"\n```\n\n```bash\ngit push origin v1\n```\n\nNote: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.\n\nYour action is now published! :rocket:\n\nSee the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)\n\n## usage\n\nYou can now consume the action by referencing the v1 branch\n\n```yaml\nuses: \u003cnamespace\u003e/\u003crepo\u003e@v1\nwith:\n  milliseconds: 1000\n```\n\nSee the [actions tab]() for runs of this action! :rocket:\n\n# \n\u003cdiv align='right'\u003e\n\n*built with ❤️ by 😼*\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-hack%2Factions-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo-hack%2Factions-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-hack%2Factions-template/lists"}