{"id":21832668,"url":"https://github.com/tool3/ncc","last_synced_at":"2025-06-30T11:03:34.791Z","repository":{"id":46636488,"uuid":"246213066","full_name":"tool3/ncc","owner":"tool3","description":"github action to compile your nodejs code and push to a destination branch","archived":false,"fork":false,"pushed_at":"2025-01-21T23:54:15.000Z","size":8591,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T07:45:25.810Z","etag":null,"topics":["continuous-integration","github-action","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tool3.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":"2020-03-10T05:07:00.000Z","updated_at":"2024-05-22T14:47:24.000Z","dependencies_parsed_at":"2024-05-22T15:49:01.102Z","dependency_job_id":"0735c401-b056-4a29-9a47-975eb2946903","html_url":"https://github.com/tool3/ncc","commit_stats":{"total_commits":182,"total_committers":7,"mean_commits":26.0,"dds":0.3626373626373627,"last_synced_commit":"dd1060424678457c00fc8f9095be459fbebb2b06"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":"tool3/bump","purl":"pkg:github/tool3/ncc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fncc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fncc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fncc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fncc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tool3","download_url":"https://codeload.github.com/tool3/ncc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fncc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262762436,"owners_count":23360326,"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":["continuous-integration","github-action","nodejs"],"created_at":"2024-11-27T19:24:47.402Z","updated_at":"2025-06-30T11:03:34.753Z","avatar_url":"https://github.com/tool3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ncc action   \n![ncc](https://github.com/tool3/ncc/workflows/ncc/badge.svg?branch=master)   \ngithub action to compile your github action and push to a destination branch!   \nuses `@vercel/ncc`\n\n# motivation\n* work on other devices which do not have a terminal\n* code directly on `github` - if that's a thing\n* `github hackathon` 🎉\n\n# usage    \n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - uses: tool3/ncc@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        src: 'index.js'\n    - uses: actions/upload-artifact@v1    \u003c-- optional (upload dist directory)\n      with:\n        name: dist\n        path: dist/\n```\nthis will:\n* compile `index.js` from the repo root directory.\n* push the compiled `dist` directory to the destination branch.\n\n# options\n### `github_token`   \n   **required**   \n   Github access token\n### `src`   \n  **required**   \n  default: `index.js`\n### `branch`   \n  destination branch   \n  default: `master`\n### `commit_msg`   \n  commit message used when pushing dist   \n  default: `dist release 📦`\n### `ncc_args`   \n  command seperated args for ncc   \n  exmaple: `'-o, other_dist, -C'` \n\n### `allow_unrelated`   \n  adds `--allow-unrelated-histories` when perform `git pull`\n  default: `true`\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftool3%2Fncc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftool3%2Fncc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftool3%2Fncc/lists"}