Commit Graph

33 Commits (81059b9c3dab8b628c562df5cc7bb7febe98a563)

Author SHA1 Message Date
Salman Chishti b7234cc9fe
Upgrade action to use node24 (#1325)
* Change Node.js version to 24

Update Node.js version from 20 to 24 in action.yml

* update and vulnerability fixes

* update node version check

* update licences

* node version check update

* update version for test

* node version

* update node version to 24.0.0 in tool-versions and package-volta.json

* node 24

* update to 24

* update to specify engines

* check failures fix

* update package-lock.json

* licensed update

* check failure fix

* documentation update

---------

Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2 weeks 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 weeks ago
Marco Ippolito e3ce749e20
feat: support private mirrors (#1240)
* feat: support private mirrors

* chore: change fallback message with mirrors
6 months ago
Róbert Papp 7247617371
Add `package.json` to `node-version-file` list of examples. (#879) 2 years ago
Dmitry Shibanov 54534a2a9b
Change node version for action to node20 (#866) 2 years ago
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
2 years ago
Dmitry Shibanov 00e1b6691b
Pass the token input through on GHES (#595) 3 years ago
Marko Zivic 5b949b50c3
Merge pull request #373 from ganta/add-support-for-asdf-format-as-node-version-file
Add support for asdf format as Node.js version file
3 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
3 years ago
Hideki Igarashi dbb64ac1d1 Add support for asdf format as Node.js version file 3 years ago
Philipp Bammes 86bf502a33
extend documentation on `scope` parameter (#470)
This also ends all descriptions with a full stop (`.`).
3 years ago
Dmitry Shibanov 9ced9a43a2
remove version input (#424) 4 years ago
Thomas Boop 28df918a56
Update default runtime to node16 (#414) 4 years ago
Hargun Kaur d08cf22211
Adding Node.js version file support (#338) 4 years ago
Manuel d1178716db Add 'cache-hit' as output 4 years ago
Maxim Lobanov 76a4cff9ae update readme and dist files 4 years ago
MaksimZhukov 9f31dbbbc4 Support caching for mono repos and repositories with complex structure 4 years ago
Jacob Gillespie 0ae03de2b7
Reorder to npm, yarn, pnpm 4 years ago
Jacob Gillespie 162ddf7c40
Add pnpm caching support 4 years ago
Dmitry Shibanov d36a3314a5 work on resolving comments 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
4 years ago
Amin Yahyaabadi 5984462aaa Rename node-arch to architecture 5 years ago
Amin Yahyaabadi 2d8887128d feat: node-arch in action.yml
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
5 years ago
Maxim Lobanov 1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one (#165) 5 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>
5 years ago
Charlie Fish 0cc027b656
Changing node-version default to be latest LTS (12.x) 5 years ago
eric sciple d123f10543
follow proxy settings (#105) 6 years ago
Danny McCormick c35dd24c52
Deprecate version property (#54) 6 years ago
David J. Felix 7a3ce83626 Add setting for always-auth (#48)
* Add setting for always-auth

- https://docs.npmjs.com/misc/config#always-auth
- Allow private repos for stuff like artifactory to work

* Fix tests for always-auth
6 years ago
Danny McCormick dd2e8a486f
Use node-version instead of version (#28)
* Use node-version instead of version

* Add deprecation date
6 years ago
Danny McCormick 27212a1fbb
Update action name 6 years ago
Danny McCormick 78148dae50
Add auth support (#21)
* Updates

* Update

* Update

* Update

* Update

* Yarn sometimes prefers npmrc, so use same token

* Description

* Update readme

* Feedback

* Add type

* new toolkit and scoped registries

* npmrc in RUNNER_TEMP

* Dont always auth

* Try exporting blank token

* Get auth working for now pending runner changes

* Fix string interpolation for auth token.

* Don't export both userconfigs

* Update authutil.js

* Add single quotes for authString

* Fix the registry string.

* Use userconfig and append trailing slash

* Keep in root of repo

* Try just adding auth token

* Remove auth token

* Try changes again

* Add tests

* Npm and GPR samples

* Add types
6 years ago
Chris Patterson 9bb7038a07 Initial Import 6 years ago