{"id":18952299,"url":"https://github.com/step-security/npm-get-version-action","last_synced_at":"2026-03-29T03:30:17.879Z","repository":{"id":210491650,"uuid":"726401148","full_name":"step-security/npm-get-version-action","owner":"step-security","description":"This Action scans for a package.json file and reads the version number from that.","archived":false,"fork":false,"pushed_at":"2024-07-17T13:39:13.000Z","size":23,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T02:28:35.744Z","etag":null,"topics":["step-security-maintained-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/step-security.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-02T09:33:31.000Z","updated_at":"2023-12-22T00:35:28.000Z","dependencies_parsed_at":"2023-12-03T06:22:04.598Z","dependency_job_id":"0d68a885-0cb2-4155-81c7-b034a403f684","html_url":"https://github.com/step-security/npm-get-version-action","commit_stats":null,"previous_names":["step-security/npm-get-version-action"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fnpm-get-version-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fnpm-get-version-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fnpm-get-version-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fnpm-get-version-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/step-security","download_url":"https://codeload.github.com/step-security/npm-get-version-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239951608,"owners_count":19723909,"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":["step-security-maintained-actions"],"created_at":"2024-11-08T13:32:38.963Z","updated_at":"2026-03-29T03:30:17.803Z","avatar_url":"https://github.com/step-security.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StepSecurity Maintained npm-get-version-action Actions\n\nForked from: [martinbeentjes/npm-get-version-action](https://github.com/martinbeentjes/npm-get-version-action)\n\nThis GitHub Action retrieves the package version from the package.json file and sets the version in the `current-version` output value usable in your workflow file.\n\n## Example\n\nTo use this action in your project, use the following:\n\n```yaml\n- name: get-npm-version\n  id: package-version\n  uses: step-security/npm-get-version-action@v1\n```\n\nThe Action sets an output variable called `current-version` which can be used in a following step by using `${{ steps.package-version.outputs.current-version}}`.\n\nIf you are using a monorepo or otherwise have some packages in a subdirectory of your repo, add the path to the `package.json` as a parameter:\n\n```yaml\n- name: get-npm-version\n  id: package-version\n  uses: step-security/npm-get-version-action@v1\n  with:\n    path: packages/\u003cyourpackage\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Fnpm-get-version-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstep-security%2Fnpm-get-version-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Fnpm-get-version-action/lists"}