Gordey Doronin
36d2ce149e
Switch warning to info logging
4 years ago
Gordey Doronin
fa68745dc0
Test coverage for uknown and malformed aliases
4 years ago
Gordey Doronin
c8889b24a3
Support lts/* alias
4 years ago
Gordey Doronin
88d5bfde31
Support LTS aliases
4 years ago
Guangcong Luo
46071b5c7a
Fix TypeScript error line/column ( #125 )
...
* Fix TypeScript error line/column
* Adopt official pattern from VS Code
* Minor cleanup
* Add tests for tsc problem matcher
Co-authored-by: Lukas Spieß <lumaxis@github.com>
4 years ago
Andres Vargas
d8c1b596a6
Merge branch 'main' of github.com:actions/setup-node into main
4 years ago
Amin Yahyaabadi
05e7d6cc23
Add e2e arch test
4 years ago
Amin Yahyaabadi
5984462aaa
Rename node-arch to architecture
4 years ago
Amin Yahyaabadi
aabe026707
Merge remote-tracking branch 'upstream/main' into arch
4 years ago
Andres Vargas
f4215cc0e0
fix format
5 years ago
Andres Vargas
5da2d61209
remove space
5 years ago
Andres Vargas
a600caf7cc
remove debug
5 years ago
Andres Vargas
8dde5bc004
adding test for NODE_AUTH_TOKEN overwritten
5 years ago
Thomas Boop
c6fd00ceb9
Swap to env files ( #200 )
...
* Swap to env files
* revert to old method for tests
* disable executing of commands during tests
* bump package.json @actions/core version
5 years ago
Amin Yahyaabadi
a83bf51129
test: test using main.run and spying
5 years ago
Amin Yahyaabadi
922f2f9468
test: revert using nock and fixtures
5 years ago
Amin Yahyaabadi
7a3669aa8a
test: add arch tests
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
feat: add nock
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
5 years ago
Amin Yahyaabadi
c7e4d38541
feat: add arch to downloading message
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
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 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
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