{"id":5910070,"name":"magnetikonline/action-node-modules-cache","ecosystem":"actions","description":"Setup requested Node.js version with managed node_modules caching.","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/magnetikonline/action-node-modules-cache","keywords_array":["cache","github-actions","nodejs"],"namespace":"magnetikonline","versions_count":2,"first_release_published_at":"2023-05-08T01:28:14.000Z","latest_release_published_at":"2024-03-07T22:38:51.000Z","latest_release_number":"v2","latest_published_release_number":"v2","last_synced_at":"2026-10-23T12:22:14.114Z","created_at":"2023-01-20T00:01:51.541Z","updated_at":"2026-10-23T12:22:14.114Z","registry_url":"https://github.com/magnetikonline/action-node-modules-cache","install_command":null,"documentation_url":null,"metadata":{"name":"Node.js with node_modules cache","author":"Peter Mescalchin","description":"Setup requested Node.js version with managed node_modules caching.","inputs":{"node-version":{"description":"Desired Node.js version.","default":null},"node-version-file":{"description":"Read desired Node.js version from file. Use in place of `node-version` input.","default":null},"node-modules-path":{"description":"Path to node_modules directory(s) for caching.","default":"node_modules"},"additional-cache-path":{"description":"Optional path(s) to be included alongside the node_modules cache artifact.","default":null},"package-lock-path":{"description":"Path to package-lock.json file(s) for caching key hash.","default":"package-lock.json"},"cache-key-suffix":{"description":"Optional cache key suffix.","default":null}},"outputs":{"cache-hit":{"description":"Boolean value to indicate a successful node_modules cache hit.","value":"${{ steps.cache-nodemodules.outputs.cache-hit }}"},"cache-key":{"description":"Cache key holding node_modules resources.","value":"${{ steps.cache-key.outputs.hashed }}"}},"runs":{"using":"composite","steps":[{"name":"Setup Node.js","uses":"actions/setup-node@v4","with":{"node-version":"${{ inputs.node-version }}","node-version-file":"${{ inputs.node-version-file }}"}},{"name":"Construct cache key","id":"cache-key","run":"versionNode=$(node --version)\nversionNpm=$(npm --version)\ncacheKeyRoot=\"nodemodules-${{ runner.os }}${{ inputs.cache-key-suffix \u0026\u0026 format('-{0}',inputs.cache-key-suffix) }}-${versionNode#v}-$versionNpm-\"\necho \"hashed=${cacheKeyRoot}${{ hashFiles(inputs.package-lock-path) }}\" \u003e\u003e\"$GITHUB_OUTPUT\"\n","shell":"bash"},{"name":"Setup node_modules cache","id":"cache-nodemodules","uses":"actions/cache@v4","with":{"path":"${{ inputs.node-modules-path }}\n${{ inputs.additional-cache-path }}\n","key":"${{ steps.cache-key.outputs.hashed }}"}}]},"default_branch":"main","path":null},"repo_metadata":{"id":161932824,"uuid":"636556283","full_name":"magnetikonline/action-node-modules-cache","owner":"magnetikonline","description":"GitHub Action for the setup of Node.js and managed node_modules caching.","archived":false,"fork":false,"pushed_at":"2024-03-22T01:17:00.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-08-06T23:12:42.344Z","etag":null,"topics":["cache","github-actions","nodejs"],"latest_commit_sha":null,"homepage":"","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/magnetikonline.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}},"created_at":"2023-05-05T05:51:23.000Z","updated_at":"2025-12-27T21:57:10.000Z","dependencies_parsed_at":"2024-03-22T02:30:25.728Z","dependency_job_id":"d7c82690-c66e-47e7-a8e4-6036a6a5dc71","html_url":"https://github.com/magnetikonline/action-node-modules-cache","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"fa1affd308ff009dcbf6bfd872adf5ca43695359"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/magnetikonline/action-node-modules-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnetikonline","download_url":"https://codeload.github.com/magnetikonline/action-node-modules-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/sbom","scorecard":{"id":612037,"data":{"date":"2025-08-11","repo":{"name":"github.com/magnetikonline/action-node-modules-cache","commit":"df2a90777234a43c15e2e746cb858ea5fd579cb6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/3 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-21T02:53:09.846Z","repository_id":161932824,"created_at":"2025-08-21T02:53:09.846Z","updated_at":"2025-08-21T02:53:09.846Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36672380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-15T02:00:05.847Z","response_time":94,"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"},"owner_record":{"login":"magnetikonline","name":"Peter Mescalchin","uuid":"1818757","kind":"user","description":"Site reliability, systems tooling \u0026 architecture. Python, Golang, Node.js. Love Linux - do what I can to avoid Windows.\r\n\r\nSolving problems at @flipgroup.","email":"","website":"http://magnetikonline.com","location":"Melbourne, Australia","twitter":"magnetikonline","company":"Magnetikonline","icon_url":"https://avatars.githubusercontent.com/u/1818757?u=27ca8c53c66113faa67f6b48aeb8841717c0ee2f\u0026v=4","repositories_count":44,"last_synced_at":"2023-03-26T13:28:27.406Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/magnetikonline","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-04T01:33:53.431Z","updated_at":"2023-03-26T13:28:27.786Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnetikonline","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnetikonline/repositories"},"tags":[{"name":"v2","sha":"d2e30e9022db45d2fa17d8041416bc3f7912b12e","kind":"commit","published_at":"2024-03-07T22:38:51.000Z","download_url":"https://codeload.github.com/magnetikonline/action-node-modules-cache/tar.gz/v2","html_url":"https://github.com/magnetikonline/action-node-modules-cache/releases/tag/v2","dependencies_parsed_at":"2024-03-09T04:12:20.806Z","dependency_job_id":null,"purl":"pkg:github/magnetikonline/action-node-modules-cache@v2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/tags/v2/manifests"},{"name":"v1","sha":"0b4ad87d575ee27fac4196064d478a9de926cfe3","kind":"commit","published_at":"2023-05-08T01:28:14.000Z","download_url":"https://codeload.github.com/magnetikonline/action-node-modules-cache/tar.gz/v1","html_url":"https://github.com/magnetikonline/action-node-modules-cache/releases/tag/v1","dependencies_parsed_at":"2023-06-01T00:08:15.143Z","dependency_job_id":null,"purl":"pkg:github/magnetikonline/action-node-modules-cache@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/tags/v1/manifests"}]},"repo_metadata_updated_at":"2026-08-15T03:52:55.770Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.791633655522105,"dependent_packages_count":0.0,"stargazers_count":48.340991918871815,"forks_count":35.14181587704009,"docker_downloads_count":null,"average":27.0686103628585},"purl":"pkg:githubactions/magnetikonline/action-node-modules-cache","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/magnetikonline/action-node-modules-cache","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/magnetikonline/action-node-modules-cache","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/magnetikonline/action-node-modules-cache/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-02-28T21:25:23.947Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Faction-node-modules-cache/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/magnetikonline%2Faction-node-modules-cache/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/magnetikonline%2Faction-node-modules-cache/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/magnetikonline%2Faction-node-modules-cache/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/magnetikonline%2Faction-node-modules-cache/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/magnetikonline%2Faction-node-modules-cache/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/magnetikonline%2Faction-node-modules-cache/codemeta","maintainers":[]}