Commit graph

13 commits

Author SHA1 Message Date
Ivan
962678f22c
Add and configure ESLint and update configuration for Prettier (#703)
* Add ESLinter and update Prettier

* Update eslint config

* Update dependencies

* Rebuild action

* Update package.json

* Updates docs

* Update docs
2023-03-08 10:47:38 +02:00
Sergey Dolin
e77eaaccd3 Add unit tests 2022-12-05 13:36:23 +01:00
Dmitry Shibanov
2349c84f5c
Add support for nightly and rc versions (#611) 2022-11-17 14:35:58 +01:00
Andres Vargas
f4215cc0e0 fix format 2020-10-21 18:31:20 -05:00
Andres Vargas
5da2d61209 remove space 2020-10-21 18:21:28 -05:00
Andres Vargas
a600caf7cc remove debug 2020-10-21 18:20:47 -05:00
Andres Vargas
8dde5bc004 adding test for NODE_AUTH_TOKEN overwritten 2020-10-21 18:14:34 -05:00
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
2020-10-01 12:03:22 -04:00
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>
2020-05-19 09:25:54 -04:00
eric sciple
83c9f7a7df
Update tool-cache for download retries (#120) 2020-03-10 11:51:57 -04:00
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
2019-09-03 10:57:45 -04:00
James M. Greene
d43864199a Force all scope names to be lowercased (#39)
Fixes #38
2019-08-21 22:46:35 -04:00
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
2019-08-06 18:26:04 -04:00