{"id":5806578,"name":"gacts/setup-node-with-cache","ecosystem":"actions","description":"Setup a Node environment, additionally enable caching","homepage":"https://github.com/marketplace/actions/setup-nodejs-environment-with-a-cache","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/gacts/setup-node-with-cache","keywords_array":["composite","github","github-action","github-actions","nodejs"],"namespace":"gacts","versions_count":9,"first_release_published_at":"2022-11-13T20:40:04.000Z","latest_release_published_at":"2024-06-20T11:45:49.000Z","latest_release_number":"v1.2.2","last_synced_at":"2026-05-27T02:17:20.414Z","created_at":"2023-01-04T16:18:46.034Z","updated_at":"2026-05-27T02:17:20.414Z","registry_url":"https://github.com/gacts/setup-node-with-cache","install_command":null,"documentation_url":null,"metadata":{"name":"Setup NodeJS environment with a Cache","description":"Setup a Node environment, additionally enable caching","inputs":{"node-version":{"description":"The Node version to download (if necessary) and use. Supports semver spec and ranges"},"node-version-file":{"description":"File containing the version Spec of the version to use. Examples - `.nvmrc`, `.node-version`, `.tool-versions`"},"registry-url":{"description":"Optional registry to set up for auth. Will set the registry in a project level `.npmrc` and `.yarnrc` file, and set up auth to read in from `env.NODE_AUTH_TOKEN`"},"cache-key-suffix":{"description":"Optional cache key suffix","default":""}},"runs":{"using":"composite","steps":[{"shell":"bash","run":"echo '::warning title=Action gacts/setup-node-with-cache is deprecated::It seems like this action is no longer necessary because https://github.com/actions/setup-node now supports caching out of the box. Please use it instead'\n"},{"name":"Setup NodeJS","id":"setup-node","uses":"actions/setup-node@v4","with":{"node-version":"${{ inputs.node-version }}","node-version-file":"${{ inputs.node-version-file }}","registry-url":"${{ inputs.registry-url }}"}},{"name":"Determine npm cache directory path","id":"npm-cache-dir","shell":"bash","run":"echo \"dir=$(npm config get cache)\" \u003e\u003e $GITHUB_OUTPUT"},{"uses":"actions/cache@v4","id":"npm-cache","with":{"path":"${{ steps.npm-cache-dir.outputs.dir }}","key":"${{ runner.os }}-node${{ inputs.cache-key-suffix \u0026\u0026 '-' }}${{ inputs.cache-key-suffix }}-${{ hashFiles('**/package-lock.json') }}","restore-keys":"${{ runner.os }}-node${{ inputs.cache-key-suffix \u0026\u0026 '-' }}${{ inputs.cache-key-suffix }}-"}},{"name":"Determine yarn cache directory path","id":"yarn-cache-dir","shell":"bash","run":"echo \"dir=$(yarn cache dir)\" \u003e\u003e $GITHUB_OUTPUT"},{"uses":"actions/cache@v4","id":"yarn-cache","with":{"path":"${{ steps.yarn-cache-dir.outputs.dir }}","key":"${{ runner.os }}-yarn${{ inputs.cache-key-suffix \u0026\u0026 '-' }}${{ inputs.cache-key-suffix }}-${{ hashFiles('**/yarn.lock') }}","restore-keys":"${{ runner.os }}-yarn${{ inputs.cache-key-suffix \u0026\u0026 '-' }}${{ inputs.cache-key-suffix }}-"}}]},"outputs":{"node-version":{"description":"The installed node version","value":"${{ steps.setup-node.outputs.node-version }}"},"npm-cache-hit":{"description":"A boolean value to indicate if npm cache was hit","value":"${{ steps.npm-cache.outputs.cache-hit }}"},"yarn-cache-hit":{"description":"A boolean value to indicate if yarn cache was hit","value":"${{ steps.yarn-cache.outputs.cache-hit }}"}},"branding":{"icon":"box","color":"orange"},"default_branch":"master","path":null},"repo_metadata":{"uuid":"565567532","full_name":"gacts/setup-node-with-cache","owner":"gacts","description":"🚀 Setup a Node environment, additionally enable caching","archived":false,"fork":false,"pushed_at":"2024-03-16T15:09:22.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-16T18:48:37.987Z","etag":null,"topics":["composite","github","github-action","github-actions","nodejs"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-nodejs-environment-with-a-cache","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/gacts.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}},"created_at":"2022-11-13T20:07:05.000Z","updated_at":"2024-02-13T21:33:02.000Z","dependencies_parsed_at":"2023-01-05T13:20:24.771Z","dependency_job_id":"fa4ae489-f928-4e80-916f-3f8fc73faad5","html_url":"https://github.com/gacts/setup-node-with-cache","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"a2bef9e355f0fcc60f54c555ada3556991141674"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gacts","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":191361904,"owners_count":12550375,"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"},"owner_record":{"login":"gacts","name":"Actions for GitHub","uuid":"56696274","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/56696274?v=4","repositories_count":12,"last_synced_at":"2023-03-08T22:00:39.792Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/gacts","created_at":"2022-11-18T12:00:02.433Z","updated_at":"2023-03-08T22:00:39.798Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gacts","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gacts/repositories"},"tags":[{"name":"v1.2","sha":"87aa75276c1845b777768bb336aced9557860a07","kind":"tag","published_at":"2024-03-16T15:09:21.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1.2","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.2/manifests"},{"name":"v1.2.0","sha":"87aa75276c1845b777768bb336aced9557860a07","kind":"commit","published_at":"2024-03-16T15:06:33.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1.2.0","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.2.0/manifests"},{"name":"v1.1","sha":"9de1c08f110c94770db3d21cd9b6b079d6008228","kind":"tag","published_at":"2023-11-05T10:57:00.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1.1","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1.1","dependencies_parsed_at":"2023-11-07T04:44:19.680Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.1/manifests"},{"name":"v1.1.0","sha":"9de1c08f110c94770db3d21cd9b6b079d6008228","kind":"commit","published_at":"2023-11-05T10:54:54.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1.1.0","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1.1.0","dependencies_parsed_at":"2023-11-07T04:44:19.746Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.1.0/manifests"},{"name":"v1.0","sha":"acf4f643488d224324ef3ef4d86b4c75be2e36b6","kind":"tag","published_at":"2022-11-13T20:44:39.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1.0","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1.0","dependencies_parsed_at":"2023-05-31T20:05:26.014Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.0/manifests"},{"name":"v1","sha":"acf4f643488d224324ef3ef4d86b4c75be2e36b6","kind":"tag","published_at":"2022-11-13T20:44:38.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1","dependencies_parsed_at":"2023-05-31T20:05:26.504Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1/manifests"},{"name":"v1.0.0","sha":"acf4f643488d224324ef3ef4d86b4c75be2e36b6","kind":"commit","published_at":"2022-11-13T20:40:04.000Z","download_url":"https://codeload.github.com/gacts/setup-node-with-cache/tar.gz/v1.0.0","html_url":"https://github.com/gacts/setup-node-with-cache/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-31T20:05:25.605Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-02-11T14:38:01.983Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":11,"rankings":{"downloads":null,"dependent_repos_count":11.795278085881794,"dependent_packages_count":0.0,"stargazers_count":34.63159562668357,"forks_count":35.11012517826018,"docker_downloads_count":null,"average":20.384249722706386},"purl":"pkg:githubactions/gacts/setup-node-with-cache","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/gacts/setup-node-with-cache","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/gacts/setup-node-with-cache","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/gacts/setup-node-with-cache/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-11-05T11:30:38.401Z","issues_count":0,"pull_requests_count":2,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":1646652.0,"issues_closed_count":0,"pull_requests_closed_count":2,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":2,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":1646652.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":2,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fsetup-node-with-cache/issues"},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fsetup-node-with-cache/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fsetup-node-with-cache/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fsetup-node-with-cache/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fsetup-node-with-cache/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fsetup-node-with-cache/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fsetup-node-with-cache/codemeta","maintainers":[]}