{"id":28281712,"url":"https://github.com/anna-money/github-actions-npm","last_synced_at":"2025-08-06T08:25:50.736Z","repository":{"id":40539383,"uuid":"238033183","full_name":"anna-money/github-actions-npm","owner":"anna-money","description":"This GitHub Action runs the specified target of package.json, default is test","archived":false,"fork":false,"pushed_at":"2025-05-01T01:00:49.000Z","size":18,"stargazers_count":9,"open_issues_count":1,"forks_count":10,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-07-14T13:04:29.923Z","etag":null,"topics":["action","actions","github-action","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":false,"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/anna-money.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-03T18:29:22.000Z","updated_at":"2025-06-05T11:21:11.000Z","dependencies_parsed_at":"2023-09-26T01:40:12.362Z","dependency_job_id":"365e7911-88b7-4c12-ab74-902989936e58","html_url":"https://github.com/anna-money/github-actions-npm","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.2222222222222222,"last_synced_commit":"bbc95ec48e330e22e37aa2b45df23d18530eeab5"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/anna-money/github-actions-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fgithub-actions-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fgithub-actions-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fgithub-actions-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fgithub-actions-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anna-money","download_url":"https://codeload.github.com/anna-money/github-actions-npm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anna-money%2Fgithub-actions-npm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269044790,"owners_count":24350265,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["action","actions","github-action","github-actions"],"created_at":"2025-05-21T12:13:29.046Z","updated_at":"2025-08-06T08:25:50.691Z","avatar_url":"https://github.com/anna-money.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NPM Target Action\n\nThis GitHub Action runs specified target of `package.json`, default is `test`.\n\n## Configuration\n\nFor help storing this see the [GitHub docs](https://help.github.com/en/articles/creating-a-github-action).\n \nCreate a new Actions workflow in your selected GitHub repository. If you don't already have a workflow file, \nyou'll need to create a new file titled `action.yml` in the `.github/workflows` directory of your repository.  \nUnder \"Edit new file\", paste the following code:\n\n```yaml\non: push\nname: Example Workflow\njobs:\n  runNpmTarget:\n    name: Run NPM target\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v1\n    - name: Run NPM target\n      uses: anna-money/github-actions-npm@v2\n      with:\n        target: 'custom-target'  # Remove `with` section to run default target `test`\n```\n\nWe strongly recommend that you update the `uses: anna-money/github-actions-npm@v2` to reference \nthe latest tag in the [anna-money/github-actions-npm repository](https://github.com/anna-money/github-actions-npm). \nThis will pin your workflow to a particular version of the `anna-money/github-actions-npm` action.\n\nIf you already have a `action.yml` file, copy and paste the above `runNpmTarget` job declaration \ninto the `jobs` section in your existing `action.yml` file. If you wish to verify that you've \npasted the above correctly, you can go into the visual editor and ensure that there are no syntax errors.\n\nAs shown in the above example, the workflow should run on the `push` event.\n\n## Troubleshooting\n\nOnce your workflow has been created, the best way to confirm that the workflow is executing correctly \nis to create a new pull request with the workflow file and verify that the newly created action succeeds.\n\nIf the action fails, there may be a problem with your configuration. To investigate, dig into the \naction's logs to view any error messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanna-money%2Fgithub-actions-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanna-money%2Fgithub-actions-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanna-money%2Fgithub-actions-npm/lists"}