Satishchoudhary94
dff445bec7
fix( #1357 ): Gracefully handle missing pnpm installation during cache
...
This change prevents the action from failing immediately when pnpm is specified
in packageManager but not yet installed (e.g., when using corepack).
Changes:
- Add isPackageManagerInstalled() function to check if a package manager exists
- Update restoreCache to skip caching with a warning if package manager not found
- Update cachePackages to skip cache save with a warning if package manager not found
- This allows workflows to continue instead of failing
- Users can either install pnpm first or disable caching with package-manager-cache: false
Fixes #1357
Related: https://github.com/actions/setup-node/issues/1357
2026-01-18 14:08:11 +00:00
Salman Chishti
2951748f4c
Bump @actions/cache to v5.0.1 ( #1449 )
...
* Bump @actions/cache to v5.0.0
This update removes the punycode deprecation warning by updating to a version of @actions/cache that no longer depends on packages using the deprecated punycode module.
* Update license cache for @actions/cache v5.0.0 dependencies
Regenerated license files to reflect the updated dependency tree after bumping @actions/cache to v5.0.0. This includes license information for new transitive dependencies and removes licenses for dependencies that are no longer used.
* Update license metadata for @actions/http-client
Mark @actions/http-client v2.2.1 and v3.0.0 as MIT license (correctly identified from LICENSE file content)
* prepare release 6.0.1
* Bump version to 6.1.1 in package.json and package-lock.json
* fix: update @actions/cache with storage-blob fix for Node.js 24 punycode deprecation
* fix: update @actions/cache to ^5.0.1 for Node.js 24 punycode fix
Updates @actions/cache to version 5.0.1 which includes the @azure/storage-blob
update that fixes the punycode deprecation warning on Node.js 24.
* fix: update @actions/cache to ^5.0.1 for Node.js 24 punycode fix
Updates @actions/cache to version 5.0.1 which includes the @azure/storage-blob
update that fixes the punycode deprecation warning on Node.js 24.
2026-01-13 17:06:04 -06:00
Priya Gupta
b9b25d45f7
Remove always-auth configuration handling from action ( #1436 )
...
* Remove always-auth configuration handling from setup-node
* docs: update README to note always-auth removal
Update README to mention removal of always-auth input
* Clarify removal of 'always-auth' input in README
Updated the description of the 'always-auth' input removal for clarity.
2025-11-26 11:37:55 -06:00
dependabot[bot]
633bb92bc0
Bump @actions/cache from 4.0.3 to 4.1.0 ( #1384 )
...
* Bump @actions/cache from 4.0.3 to 4.1.0
Bumps [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache ) from 4.0.3 to 4.1.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/cache )
---
updated-dependencies:
- dependency-name: "@actions/cache"
dependency-version: 4.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* check failure fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gowridurgad <gowridurgad@gmail.com>
2025-11-18 14:33:59 -06:00
Priya Gupta
2028fbc5c2
Limit automatic caching to npm, update workflows and documentation ( #1374 )
...
* default to auto-caching only for npm package manager and documentation update
* refactor: enhance package manager detection for auto-caching
* add devEngines.packageManager detection logic for npm auto-caching
* chore: bump version to 6.0.0 and update documentation
* docs: update README and action.yml for npm caching logic clarification
* chore: update Node.js version in workflows
* chore: update Node.js versions in versions.yml
* chore: update rc Node.js version in versions.yml
* chore: switch macos-13 runner to macos-latest-large in workflow
* docs: update README and advanced usage documentation
2025-10-13 21:37:06 -05:00
dependabot[bot]
cd2651c462
Bump ts-jest from 29.1.2 to 29.4.1 ( #1336 )
...
* Bump ts-jest from 29.1.2 to 29.4.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 29.1.2 to 29.4.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.2...v29.4.1 )
---
updated-dependencies:
- dependency-name: ts-jest
dependency-version: 29.4.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* documentation update
* check failure fix
* text alignment
* doc update
* updated documentation and logs
* doc update
* update
* doc update
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-09-08 21:49:38 -05:00
priya-kinthali
d7a11313b5
Enhance caching in setup-node with automatic package manager detection ( #1348 )
...
* setup node in local
* Enhance caching in setup-node with package manager filed detection
* updated with array
* update the field
2025-08-25 21:40:12 -05:00
gowridurgad
5e2628c959
Bumps form-data ( #1332 )
...
Co-authored-by: “gowridurgad” <“hgowridurgad@github.com>
2025-07-31 15:39:40 -05:00
dependabot[bot]
65beceff8e
Bump undici from 5.28.5 to 5.29.0 ( #1295 )
...
* Bump undici from 5.28.5 to 5.29.0
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.5 to 5.29.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.5...v5.29.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-version: 5.29.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* check failures fix
* check-failures fix
* check failures fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
Co-authored-by: “gowridurgad” <“hgowridurgad@github.com>
2025-07-24 21:39:27 -05:00
dependabot[bot]
7e24a656e1
Bump uuid from 9.0.1 to 11.1.0 ( #1273 )
...
* Bump uuid from 9.0.1 to 11.1.0
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.1 to 11.1.0.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v11.1.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 11.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump uuid from 9.0.1 to 11.1.0
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.1 to 11.1.0.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v11.1.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 11.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix failures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2025-07-15 12:28:04 -05:00
dependabot[bot]
08f58d1471
Bump @octokit/request-error and @actions/github ( #1227 )
...
* Bump @octokit/request-error and @actions/github
Bumps [@octokit/request-error](https://github.com/octokit/request-error.js ) to 5.1.1 and updates ancestor dependency [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github ). These dependencies need to be updated together.
Updates `@octokit/request-error` from 2.1.0 to 5.1.1
- [Release notes](https://github.com/octokit/request-error.js/releases )
- [Commits](https://github.com/octokit/request-error.js/compare/v2.1.0...v5.1.1 )
Updates `@actions/github` from 5.1.1 to 6.0.0
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github )
---
updated-dependencies:
- dependency-name: "@octokit/request-error"
dependency-type: indirect
- dependency-name: "@actions/github"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix failures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2025-06-18 17:00:42 -05:00
aparnajyothi-y
49933ea528
Bump @action/cache from 4.0.2 to 4.0.3 ( #1262 )
...
* Update versions.yml
* Update versions.yml
* actions/cache upgrade to 4.0.3
* events update
* npm audit fix revert
* npm adit fix revert
2025-04-02 14:20:51 -05:00
Marco Ippolito
e3ce749e20
feat: support private mirrors ( #1240 )
...
* feat: support private mirrors
* chore: change fallback message with mirrors
2025-04-02 10:49:47 -05:00
dependabot[bot]
cdca7365b2
Bump @actions/tool-cache from 2.0.1 to 2.0.2 ( #1220 )
...
* Bump @actions/tool-cache from 2.0.1 to 2.0.2
Bumps [@actions/tool-cache](https://github.com/actions/toolkit/tree/HEAD/packages/tool-cache ) from 2.0.1 to 2.0.2.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/tool-cache/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/tool-cache )
---
updated-dependencies:
- dependency-name: "@actions/tool-cache"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* check failures fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-03-13 12:18:32 -05:00
dependabot[bot]
22c0e7494f
Bump @vercel/ncc from 0.38.1 to 0.38.3 ( #1203 )
...
* Bump @vercel/ncc from 0.38.1 to 0.38.3
Bumps [@vercel/ncc](https://github.com/vercel/ncc ) from 0.38.1 to 0.38.3.
- [Release notes](https://github.com/vercel/ncc/releases )
- [Commits](https://github.com/vercel/ncc/compare/0.38.1...0.38.3 )
---
updated-dependencies:
- dependency-name: "@vercel/ncc"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix for check failures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-03-12 12:42:27 -05:00
gowridurgad
a7c2d9473e
actions/cache upgrade ( #1251 )
...
Co-authored-by: “gowridurgad” <“hgowridurgad@github.com>
2025-03-11 10:09:37 -05:00
dependabot[bot]
802632921f
Bump @actions/glob from 0.4.0 to 0.5.0 ( #1200 )
...
* Bump @actions/glob from 0.4.0 to 0.5.0
Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob ) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob )
---
updated-dependencies:
- dependency-name: "@actions/glob"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix for check-dist and license failures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-01-27 13:02:45 -06:00
dependabot[bot]
1d0ff469b7
Bump undici from 5.28.4 to 5.28.5 ( #1205 )
...
* Bump undici from 5.28.4 to 5.28.5
Bumps [undici](https://github.com/nodejs/undici ) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix for check-dist and license failures
* npm run updates
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-01-22 13:15:11 -06:00
dependabot[bot]
260f8702db
Bump semver from 7.6.0 to 7.6.3 ( #1196 )
...
* Bump semver from 7.6.0 to 7.6.3
Bumps [semver](https://github.com/npm/node-semver ) from 7.6.0 to 7.6.3.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.6.0...v7.6.3 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix for check-dist & license check failures
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-01-21 14:01:34 -06:00
Priya Gupta
8f9cc178b6
Use the new cache service: upgrade @actions/cache to ^4.0.0 ( #1191 )
...
* upgrade `@actions/cache` to `^4.0.0`
* Review licenses & update types
* updated package-lock.json
2025-01-16 14:28:35 -06:00
Peng Xiao
39370e3970
fix: add arch to cached path ( #843 )
...
* fix: add arch to cached path
* fix: change from using env to os module
* fix: use process.env.RUNNER_OS instead of os.platform()
* fix: remove unused var
2024-10-23 22:31:49 -05:00
John Wesley Walker III
abb238b131
Revise isGhes logic ( #1148 )
...
* Revise `isGhes` logic
* ran 'npm run format'
* added unit test
2024-10-21 11:41:32 -05:00
Priya Gupta
1c7b2db920
Fix: windows arm64 setup ( #1126 )
...
* Add condition to ensure ZIP extraction targets only Windows ARM64 official archives
* Bumps micromatch from 4.0.5 to 4.0.8
2024-09-06 14:30:34 -05:00
dependabot[bot]
1e60f620b9
Bump braces from 3.0.2 to 3.0.3 ( #1087 )
...
* Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump undici from 5.28.3 to 5.28.4
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2024-06-27 12:15:53 -05:00
dependabot[bot]
c2ac33f2c6
Bump undici from 5.26.5 to 5.28.3 ( #965 )
...
* Bump undici from 5.26.5 to 5.28.3
Bumps [undici](https://github.com/nodejs/undici ) from 5.26.5 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.26.5...v5.28.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* license and other dependencies update
* updated licenses
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2024-03-13 09:10:22 -05:00
Dmitry Shibanov
60edb5dd54
Add support for arm64 Windows ( #927 )
...
* add support for arm64 Windows
* revert 7z to exe
* add comment
---------
Co-authored-by: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com>
2024-02-06 22:42:16 -06:00
Manta Anantachai S
d86ebcd40b
Add support for volta.extends ( #921 )
...
* Add support for `volta.extends`
* Code review
2023-12-29 15:01:21 +05:30
NullVoxPopuli
b39b52d121
Fix node-version-file interprets entire package.json as a version ( #865 )
2023-12-14 13:53:26 +01:00
Dmitry Shibanov
54534a2a9b
Change node version for action to node20 ( #866 )
2023-10-23 15:20:20 +02:00
Dmitry Shibanov
1a4442cacd
Update toolkit cache and core ( #875 )
2023-10-23 12:20:07 +02:00
Nikolai Laevskii
ac16ae42d7
Update message to use waning instead of info
2023-10-19 16:59:10 +02:00
Nikolai Laevskii
5a8d9111e3
Update build
2023-10-19 14:31:08 +02:00
dependabot[bot]
7da2a7eb0c
Bump @babel/traverse from 7.15.4 to 7.23.2 ( #870 )
2023-10-19 10:40:59 +02:00
Nikolai Laevskii
2a017f350d
Merge pull request #859 from actions/update-temp-directory-creation
...
Update temp directory creation
2023-10-09 07:12:35 +02:00
Dmitry Shibanov
72c43c2d8f
Update semver ( #861 )
2023-09-27 12:57:35 +02:00
Nikolai Laevskii
d3ace34546
Update build
2023-09-25 16:37:45 +02:00
Nikolai Laevskii
acbf0586b1
Fix typo
2023-09-25 15:58:01 +02:00
Nikolai Laevskii
2651591c72
Update temporary directory creation
2023-09-25 15:58:01 +02:00
Dmitry Shibanov
bea5baf987
change getinput to getstate for cache ( #816 )
2023-08-10 16:32:24 +02:00
Vytis Valentinavičius
ca2d4e0cdd
feat: handling the case where "node" is used for tool-versions file. ( #812 )
2023-07-18 13:01:34 +02:00
Dmitry Shibanov
c7a93deeac
resolve SymbolicLink ( #809 )
2023-07-13 14:06:23 +02:00
Louis Lam
e2d34eacc8
Fix armv7 cache issue ( #794 )
2023-07-12 16:09:57 +02:00
dependabot[bot]
ef9c88b169
Bump semver from 6.1.2 to 6.3.1 ( #807 )
2023-07-12 13:17:54 +02:00
Dmitry Shibanov
cb95c398f6
Update toolkit cache to fix zstd ( #804 )
2023-07-12 12:13:18 +02:00
Sergey Dolin
e33196f742
Do not ivalidate the cache entirely on lock file change ( #744 )
...
* Do not ivalidate the cache entirely on yarn3 lock file change
* Use cache prefix if all sub-projects are yarn managed
* Rename functions & add e2e tests
2023-06-27 13:07:43 +02:00
Sergey Dolin
8170e22e8f
Detect cached folders from multiple directories ( #735 )
...
* Add project-dir
* Fix find lock file
* Remove package-dir input
* format & resolve conflicts
* Add unit tests
* build dist
* Apply change request fixes
* handle non-dir cache-dependency-path
* bump cache version
* run checks
* Handle globs in cacheDependencyPath
* refactor, introduce `cacheDependencyPathToProjectsDirectories`
it is necessary for the next PR related yarn optimization
* Changes requests
* Apply fixes
* review fixes
* add e2e
* Add unique
* review updates
* review updates second stage
* Review fixes 3
* imporve e2e tests
2023-06-21 17:52:17 +02:00
Nikolai Laevskii
7d16907b89
Add missing dependency
2023-05-23 16:33:19 +02:00
Dmitry Shibanov
5b32c9063c
Update xml2js ( #742 )
2023-04-20 12:55:12 +02:00
Adam Jones
d98fa11138
bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes ( #718 )
2023-04-11 09:31:41 +02:00
Ivan
962678f22c
Add and configure ESLint and update configuration for Prettier ( #703 )
...
* Add ESLinter and update Prettier
* Update eslint config
* Update dependencies
* Rebuild action
* Update package.json
* Updates docs
* Update docs
2023-03-08 10:47:38 +02:00