{"id":16327251,"url":"https://github.com/bryopsida/ts-action-builder-action","last_synced_at":"2025-06-13T04:34:56.585Z","repository":{"id":64914538,"uuid":"579375087","full_name":"bryopsida/ts-action-builder-action","owner":"bryopsida","description":"This is an action, to rebuild typescript actions when dependencies change and the dist folder needs to be updated. ","archived":false,"fork":false,"pushed_at":"2025-06-06T22:11:37.000Z","size":688,"stargazers_count":1,"open_issues_count":15,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-06T23:23:05.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bryopsida.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2022-12-17T13:39:00.000Z","updated_at":"2023-01-31T22:15:48.000Z","dependencies_parsed_at":"2023-09-24T05:25:36.338Z","dependency_job_id":"9d59387a-6f91-4680-9687-a5fd853eed08","html_url":"https://github.com/bryopsida/ts-action-builder-action","commit_stats":{"total_commits":31,"total_committers":4,"mean_commits":7.75,"dds":0.5806451612903225,"last_synced_commit":"d65dc5c7edf9357e94c6c5aad2df1e042d6b82de"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/bryopsida/ts-action-builder-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryopsida%2Fts-action-builder-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryopsida%2Fts-action-builder-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryopsida%2Fts-action-builder-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryopsida%2Fts-action-builder-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryopsida","download_url":"https://codeload.github.com/bryopsida/ts-action-builder-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryopsida%2Fts-action-builder-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259581732,"owners_count":22879906,"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":[],"created_at":"2024-10-10T23:10:50.338Z","updated_at":"2025-06-13T04:34:56.535Z","avatar_url":"https://github.com/bryopsida.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TS-Action-Builder-Action\n## What is this?\nThis is an attempt to reduce maintenace overhead of maintaining dependencies in github typescript actions.\nWhen using the actions/typescript-acton template it introduces a check that verifies the dist folder matches the expected result, \nthis is a great check but it means anytime there is a dependabot or rennovatebot PR that introduces a dependency that changes the build result.... \nyou have to manually checkout the branch, run the npm commands to get the compiled JS in sync again, and then merge it. This action automates that when it detects a build results in a dirty source tree.\n\n## Gotchas\n1) You must ensure this action runs before the check-dist action and any tests you might have that use the compiled result, or re-run afterwards. Here's an example on how to do that.\n\n``` yaml\nname: CI\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  \n  sync-dist:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.head_ref }}\n          fetch-depth: 0\n          persist-credentials: true\n      - uses: bryopsida/ts-action-builder-action@v1 #or @main if you prefer\n  \n  build-and test:\n    runs-on: ubuntu-latest\n    needs:\n      - sync-dist\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          ref: ${{ github.head_ref }}\n          fetch-depth: 0\n          persist-credentials: true\n      - run: |\n          npm install\n      - run: |\n          npm run all\n  \n  check-dist:\n    runs-on: ubuntu-latest\n    needs:\n     - sync-dist\n    steps:\n      - uses: actions/checkout@v3\n        with:\n            ref: ${{ github.head_ref }}\n            fetch-depth: 0\n            persist-credentials: true\n            ...\n```\n2) The GITHUB_TOKEN of the actor who trigger the action must have write acces to the repo, in the future this may change if an optional parameter to provide a GITHUB PAT is added.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryopsida%2Fts-action-builder-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryopsida%2Fts-action-builder-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryopsida%2Fts-action-builder-action/lists"}