Commit Graph

98 Commits (bb59d50268bbdb3cf44cf12e6a6594b4980affd4)

Author SHA1 Message Date
Gordey Doronin 0ec4841e4b Function renaming 4 years ago
Gordey Doronin e761a7024e Interface extraction 4 years ago
Gordey Doronin c8c6442c74 Add brief comment about supported formats 4 years ago
Gordey Doronin c8889b24a3 Support lts/* alias 4 years ago
Gordey Doronin 88d5bfde31 Support LTS aliases 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
Rohan Chougule 68fafecfa4
refactor: use core.info instead of console.log (#185) 4 years ago
Andres Vargas d8c1b596a6 Merge branch 'main' of github.com:actions/setup-node into main 4 years ago
Amin Yahyaabadi d6fea3c137 update message to be more general
This considers self-hosted runners
4 years ago
Amin Yahyaabadi 5984462aaa Rename node-arch to architecture 4 years ago
Andres Vargas 66dfac5328 update comment 5 years ago
Andres Vargas 14e150d2b1 update changes 5 years ago
Andres Vargas 8dde5bc004 adding test for NODE_AUTH_TOKEN overwritten 5 years ago
Amin Yahyaabadi 2a5c060ce2 fix: add warning for when arch is supplied but version is missing 5 years ago
Amin Yahyaabadi 0a161fe2f9 fix: use arch instead of osArch in INodeVersionInfo 5 years ago
Amin Yahyaabadi 66f3e9f7ce feat: add arch to queryDistForMatch 5 years ago
Amin Yahyaabadi 82271389a6 feat: add arch to cacheDir 5 years ago
Amin Yahyaabadi 2e40994c28 feat: add arch to getInfoFromDist 5 years ago
Amin Yahyaabadi c7e4d38541 feat: add arch to downloading message 5 years ago
Amin Yahyaabadi 3eb4bc9d68 feat: add arch to acquireNodeFromFallbackLocation 5 years ago
Amin Yahyaabadi bf47decdc2 feat: add arch to tc.find
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
5 years ago
Amin Yahyaabadi 6afbfca452 feat: add arch to getInfoFromManifest 5 years ago
Amin Yahyaabadi 3e84c3523b feat: add arch to INodeVersionInfo 5 years ago
Amin Yahyaabadi 6668516d2a feat: add arch to resolveVersionFromManifest 5 years ago
Amin Yahyaabadi f27ebaf08b feat: add arch to getNode
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
5 years ago
Amin Yahyaabadi 42d59fbc36 feat: add arch to run 5 years ago
Maxim Lobanov 321b6ccb03
Switch from "master" to "main" branch (#171)
* Switch from "master" to "main" branch

* Update README.md
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
Josh Gross 46903d1fb1
Await exec calls to ensure proper version ordering 5 years ago
Josh Gross 28505ad4d3
Move version to args 5 years ago
Josh Gross 2d53d29868
Use actions/exec for getting version 5 years ago
Josh Gross 1e163ded31
Quote exec parameters 5 years ago
Josh Gross ffde538781
Only include npm version if npm exists 5 years ago
Josh Gross 0dc69b3a71
Remove extra version logging 5 years ago
Josh Gross 52eb8a7524
Log node and npm version 5 years ago
eric sciple 83c9f7a7df
Update tool-cache for download retries (#120) 5 years ago
eric sciple 1c5c1375b3
consume getJson function for better error messages (#110) 5 years ago
eric sciple d123f10543
follow proxy settings (#105) 5 years ago
David Kale 93313caf82 Add extra info 6 years ago
David Kale 43d44139c7 Get correct url for arm dist 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
James M. Greene d43864199a Force all scope names to be lowercased (#39)
Fixes #38
6 years ago
damccorm 1c24df3126 User agent 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 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
Danny McCormick 0675b87d74
Update installer.js (#24)
* Update installer.js

* Update installer.ts

* Update installer.js
6 years ago
Chris Patterson 9bb7038a07 Initial Import 6 years ago