Commit Graph

37 Commits (b9b25d45f70a5d94d88496aa4896bf9ed8f49b67)

Author SHA1 Message Date
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.
2 weeks ago
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
2 months ago
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>
3 months ago
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
4 months ago
Marco Ippolito e3ce749e20
feat: support private mirrors (#1240)
* feat: support private mirrors

* chore: change fallback message with mirrors
8 months ago
Manta Anantachai S d86ebcd40b
Add support for `volta.extends` (#921)
* Add support for `volta.extends`

* Code review
2 years ago
NullVoxPopuli b39b52d121
Fix node-version-file interprets entire package.json as a version (#865) 2 years ago
dependabot[bot] 7da2a7eb0c
Bump @babel/traverse from 7.15.4 to 7.23.2 (#870) 2 years ago
Dmitry Shibanov bea5baf987
change getinput to getstate for cache (#816) 2 years ago
Dmitry Shibanov 64ed1c7eab
Add support for v8-canary, nightly and rc (#655) 3 years ago
Sergey Dolin 41acaa2e85
fix version output from file (#625) 3 years ago
Dmitry Shibanov 2349c84f5c
Add support for nightly and rc versions (#611) 3 years ago
Dmitry Shibanov 00e1b6691b
Pass the token input through on GHES (#595) 3 years ago
Uladzimir Havenchyk c81d8ad96d
Print node, npm and yarn versions after installation (#368) 3 years ago
Jef LeCompte 5a01179c35
Merge remote-tracking branch 'upstream/main' 3 years ago
Dmitry Shibanov 3d11add771 remove unused import 3 years ago
Dmitry Shibanov 072a2e3b10 add trim and silent true 3 years ago
Dmitry Shibanov 28ad38fe06 add try catch 3 years ago
Dmitry Shibanov 48de4c13f6 change to streams 3 years ago
Dmitry Shibanov aab7cc882a add silent 3 years ago
Filip Skokan adeb189fd8 apply review feedback 4 years ago
Filip Skokan 3ac35dad40 This PR adds `node-version` to the action output.
This is present in e.g. setup-python
https://github.com/actions/setup-python/blob/main/action.yml

closes #150
4 years ago
Jef LeCompte dbfbe9b6da
refactor: move volta logic 4 years ago
Jef LeCompte 9aa86428fe
chore: run prettier 4 years ago
Jef LeCompte 1a4ff5493d
feat: add volta as node-version-file 4 years ago
Dmitry Shibanov bacd6b4b3a
Caching on GHES (#452)
* add support for ghes caching

* fix licesnses

* work on resolving comments

* change internal error to warning

* fix warning for internal errors

* update version
4 years ago
Dmitry Shibanov 9ced9a43a2
remove version input (#424) 4 years ago
Hargun Kaur d08cf22211
Adding Node.js version file support (#338) 4 years ago
MaksimZhukov 9f31dbbbc4 Support caching for mono repos and repositories with complex structure 4 years ago
Dmitry Shibanov 3d0d4edb10
Add node's caching implementation (#2)
* first iteration for implementation of caching

* add logs

* add debug line

* fix build command

* fix path

* add possible post-if

* remove braces

* test new action post-if variant

* work on built-in caching

* remove post-if

* pass version

* work on yarn support

* fix return value

* change names and remove logs

* worked on resolving comments

* check post-if for null

* add success() condition

* remove primary key field

* work on resolving comments

* remove logs

* resolving comments

* resolving comments

* resolving comments

* resolving comments

* fix getpackageManagerVersion

* run clean for unstaged changes

* fix falling version tests

* work on resolving comments

* resolving comments

* fix comment

* resolve comments

* Add tests to cover node's caching (#3)

* add tests to cover node's caching

* work on fixing tests

* fix e2e tests

* rebuild and fix test

* fixing tests

* change name of describes, it and fix test

* add names for jobs

* fix issue
5 years ago
Rohan Chougule 68fafecfa4
refactor: use core.info instead of console.log (#185) 5 years ago
Amin Yahyaabadi d6fea3c137 update message to be more general
This considers self-hosted runners
5 years ago
Amin Yahyaabadi 5984462aaa Rename node-arch to architecture 5 years ago
Amin Yahyaabadi 2a5c060ce2 fix: add warning for when arch is supplied but version is missing 5 years ago
Amin Yahyaabadi 42d59fbc36 feat: add arch to run 5 years ago
Maxim Lobanov 1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one (#165) 6 years ago
Bryan MacFarlane e434342e4e
download from node-versions and fallback to node dist (#147)
* download LTS versions from releases

* support upcoiming ghes 

Co-authored-by: eric sciple <ericsciple@users.noreply.github.com>
6 years ago