{"id":19235334,"url":"https://github.com/julia-actions/julia-codeformat","last_synced_at":"2026-02-08T14:02:32.655Z","repository":{"id":43224366,"uuid":"225211137","full_name":"julia-actions/julia-codeformat","owner":"julia-actions","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-28T07:50:20.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-26T15:51:58.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/julia-actions.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}},"created_at":"2019-12-01T18:47:34.000Z","updated_at":"2024-06-06T21:54:47.000Z","dependencies_parsed_at":"2022-07-25T00:02:14.712Z","dependency_job_id":null,"html_url":"https://github.com/julia-actions/julia-codeformat","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/julia-actions/julia-codeformat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julia-actions%2Fjulia-codeformat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julia-actions%2Fjulia-codeformat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julia-actions%2Fjulia-codeformat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julia-actions%2Fjulia-codeformat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julia-actions","download_url":"https://codeload.github.com/julia-actions/julia-codeformat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julia-actions%2Fjulia-codeformat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29232802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T13:49:52.259Z","status":"ssl_error","status_checked_at":"2026-02-08T13:49:18.683Z","response_time":57,"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":[],"created_at":"2024-11-09T16:16:36.883Z","updated_at":"2026-02-08T14:02:32.624Z","avatar_url":"https://github.com/julia-actions.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create a JavaScript Action using TypeScript\n\nUse this template to bootstrap the creation of a JavaScript action.:rocket:\n\nThis template includes compilication support, tests, a validation workflow, publishing, and versioning guidance.  \n\nIf you are new, there's also a simpler introduction.  See the [Hello World JavaScript Action](https://github.com/actions/hello-world-javascript-action)\n\n## Create an action from this template\n\nClick the `Use this Template` and provide the new repo details for your action\n\n## Code in Master\n\nInstall the dependencies  \n```bash\n$ npm install\n```\n\nBuild the typescript\n```bash\n$ npm run build\n```\n\nRun the tests :heavy_check_mark:  \n```bash\n$ npm test\n\n PASS  ./index.test.js\n  ✓ throws invalid number (3ms)\n  ✓ wait 500 ms (504ms)\n  ✓ test runs (95ms)\n\n...\n```\n\n## Change action.yml\n\nThe action.yml contains 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## Change the Code\n\nMost toolkit and CI/CD operations involve async operations so the action is run in an async function.\n\n```javascript\nimport * as core from '@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## Publish to a distribution branch\n\nActions are run from GitHub repos.  We will create a releases branch and only checkin production modules (core in this case). \n\nComment out node_modules in .gitignore and create a releases/v1 branch\n```bash\n# comment out in distribution branches\n# node_modules/\n```\n\n```bash\n$ git checkout -b releases/v1\n$ git commit -a -m \"prod dependencies\"\n```\n\n```bash\n$ npm prune --production\n$ git add node_modules\n$ git commit -a -m \"prod dependencies\"\n$ git push origin releases/v1\n```\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## Validate\n\nYou can now validate the action by referencing the releases/v1 branch\n\n```yaml\nuses: actions/typescript-action@releases/v1\nwith:\n  milliseconds: 1000\n```\n\nSee the [actions tab](https://github.com/actions/javascript-action/actions) for runs of this action! :rocket:\n\n## Usage:\n\nAfter testing you can [create a v1 tag](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md) to reference the stable and tested action\n\n```yaml\nuses: actions/typescript-action@v1\nwith:\n  milliseconds: 1000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulia-actions%2Fjulia-codeformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulia-actions%2Fjulia-codeformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulia-actions%2Fjulia-codeformat/lists"}