Commit Graph

27 Commits (main)

Author SHA1 Message Date
Dmitry Shibanov 00e1b6691b
Pass the token input through on GHES (#595) 2 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) 3 years ago
Thomas Boop 28df918a56
Update default runtime to node16 (#414) 3 years ago
Hargun Kaur d08cf22211
Adding Node.js version file support (#338) 3 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 4 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) 5 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