{"id":24869557,"url":"https://github.com/catho/catho-node-composite-action","last_synced_at":"2026-02-04T07:10:17.210Z","repository":{"id":86983624,"uuid":"442539157","full_name":"catho/catho-node-composite-action","owner":"catho","description":"A custom action to use in node applications","archived":false,"fork":false,"pushed_at":"2023-04-19T21:12:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-28T21:45:48.411Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/catho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-12-28T17:40:25.000Z","updated_at":"2021-12-28T18:33:53.000Z","dependencies_parsed_at":"2025-02-01T03:30:28.409Z","dependency_job_id":"44f75422-23e0-4571-8c25-dedd05999e01","html_url":"https://github.com/catho/catho-node-composite-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/catho/catho-node-composite-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catho%2Fcatho-node-composite-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catho%2Fcatho-node-composite-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catho%2Fcatho-node-composite-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catho%2Fcatho-node-composite-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catho","download_url":"https://codeload.github.com/catho/catho-node-composite-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catho%2Fcatho-node-composite-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265033991,"owners_count":23701146,"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":"2025-02-01T03:30:23.268Z","updated_at":"2026-02-04T07:10:17.125Z","avatar_url":"https://github.com/catho.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# catho-node-composite-action\nA custom action to use in node applications.\n\n## Why\nThe jobs of github actions don't give support to reuse steps between them, so the alternative is build a composite action to reuse on every steps.\nInstead to write 4 or 5 steps in every jobs of your pipeline you cand just use this custom action.\n\n## Featrues\n - use `actions/setup-node@v3`;\n - does application checkout using `actions/checkout@v3`;\n - create a `.npmrc` file in case you pass `npm-token` parameter;\n - run `npm install`.\n\n## Inputs\n - `npm-token`: Used to create `.npmrc` file in case you have some private dependency\n\n## Outputs\nThere no outputs yet.\n\n## How to use\n\n```yaml\nname: Some API\n\non: [push]\n\njobs:\n  linter:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [14.x]\n\n    steps:\n      - name: Setup application\n        uses: catho/catho-node-composite-action@v2\n        with:\n          npm-token: you npm token\n          working-directory: ./\n\n      - name: Run linter\n        run: npm run lint\n\n  tests:\n    timeout-minutes: 10\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        node-version: [14.x]\n\n    steps:\n      - name: Setup application\n        uses: catho/catho-node-composite-action@v2\n\n      - name: Run all tests\n        run: npm run test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatho%2Fcatho-node-composite-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatho%2Fcatho-node-composite-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatho%2Fcatho-node-composite-action/lists"}