Template
1
0
mirror of https://github.com/actions/setup-node synced 2024-11-30 21:22:29 +08:00
Commit Graph

51 Commits

Author SHA1 Message Date
Bryan MacFarlane
0e2f9cde8b announce v2-beta 2020-05-19 09:57:20 -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
Bryan MacFarlane
7c6182c745
Update README.md 2020-05-06 09:58:52 -04:00
Bryan MacFarlane
a47b2f66c6
Merge pull request #108 from nschonni/patch-2
chore: Swap EOL 8 in example for 12
2020-05-02 11:47:58 -04:00
Bryan MacFarlane
89ea387bde
Merge pull request #141 from fishcharlie/patch-1
Changing node-version default to be latest LTS (12.x)
2020-05-02 11:45:15 -04:00
Josh Gross
44c9c18728
Merge pull request #142 from actions/joshmgross/run-tests-on-windows
Run test job on windows-latest
2020-04-21 16:16:40 -04:00
Josh Gross
e715d9a456
Merge pull request #137 from actions/joshmgross/log-node-version
Log node and npm versions
2020-04-21 15:45:36 -04:00
Josh Gross
b1f2e78536
Use matrix for workflow 2020-04-21 14:43:21 -04:00
Josh Gross
55897e37f3
Run test job on windows-latest 2020-04-21 14:39:51 -04:00
Josh Gross
46903d1fb1
Await exec calls to ensure proper version ordering 2020-04-21 14:17:29 -04:00
Josh Gross
28505ad4d3
Move version to args 2020-04-21 14:13:03 -04:00
Josh Gross
2d53d29868
Use actions/exec for getting version 2020-04-21 14:03:26 -04:00
Josh Gross
1e163ded31
Quote exec parameters 2020-04-21 11:40:45 -04:00
Josh Gross
ffde538781
Only include npm version if npm exists 2020-04-21 11:23:19 -04:00
Charlie Fish
0cc027b656
Changing node-version default to be latest LTS (12.x) 2020-04-20 17:36:56 -06:00
Bryan MacFarlane
339aa41a8d
Readme update 2020-04-16 18:43:02 -04:00
Bryan MacFarlane
641e88986e add code of conduct 2020-04-16 14:00:00 -04:00
Josh Gross
e99a7e62b2
Add dist changes 2020-04-16 11:47:45 -04:00
Josh Gross
0dc69b3a71
Remove extra version logging 2020-04-16 10:56:07 -04:00
Josh Gross
52eb8a7524
Log node and npm version 2020-04-16 10:45:55 -04:00
eric sciple
83c9f7a7df
Update tool-cache for download retries (#120) 2020-03-10 11:51:57 -04:00
Nick Schonning
ada4b782b3
chore: Use checkout@v2 for code examples (#107) 2020-02-06 14:52:33 -05:00
eric sciple
1c5c1375b3
consume getJson function for better error messages (#110) 2020-02-05 11:20:33 -05:00
Nick Schonning
6b7f6c9fa6
chore: Swap EOL 8 in example for 12 2020-01-31 02:12:22 -05:00
eric sciple
d123f10543
follow proxy settings (#105) 2020-01-27 10:37:12 -05:00
David Kale
9a99bb3e35
Merge pull request #88 from actions/arm-installer
Get correct url for arm dist
2019-11-20 15:46:02 -05:00
David Kale
93313caf82 Add extra info 2019-11-20 15:30:44 -05:00
David Kale
43d44139c7 Get correct url for arm dist 2019-11-20 12:21:56 -05:00
Bryan MacFarlane
6ecfd2dcb2
Merge pull request #66 from phishy/patch-1
Update README.md
2019-10-18 16:37:52 -04:00
Chris Patterson
466ce3c2f0
Update README.md 2019-10-11 10:27:02 -04:00
Jeff Loiselle
f499b0c1ab
Update README.md 2019-09-27 07:31:22 -05:00
Chris Patterson
e565252a9d
Fixing checkout to reference v1 in readme 2019-09-12 15:54:53 -04:00
Danny McCormick
c35dd24c52
Deprecate version property (#54) 2019-09-12 10:30:15 -04:00
Jason Walton
4fd9403fe5 Fix example to use NPM_TOKEN instead of YARN_TOKEN. (#57) 2019-09-10 15:39:39 -04:00
Jason Walton
ca2e28376a Example showing how to use this to install private packages securely. (#56) 2019-09-10 13:32:30 -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
Kid
57adacb752 remove unnessary install yarn command (#50) 2019-09-03 10:53:12 -04:00
Danny McCormick
7af5963081
Update .gitignore (#40) 2019-08-26 10:54:54 -04:00
dependabot[bot]
1ba3bc7e28 Bump lodash from 4.17.11 to 4.17.15 (#45)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-24 12:13:18 -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
3d792c1dbd
Consume toolkit from npmjs (#36) 2019-08-20 10:29:19 -04:00
damccorm
a0c716db3e Make typed-rest-client dependency explicit 2019-08-19 14:14:33 -04:00
damccorm
1c24df3126 User agent 2019-08-16 14:05:26 -04:00
Danny McCormick
dd2e8a486f
Use node-version instead of version (#28)
* Use node-version instead of version

* Add deprecation date
2019-08-13 16:32:09 -04:00
Danny McCormick
d963e800e3
Add badge 2019-08-12 15:10:38 -04:00
Danny McCormick
27212a1fbb
Update action name 2019-08-12 14:39:33 -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
Danny McCormick
0675b87d74
Update installer.js (#24)
* Update installer.js

* Update installer.ts

* Update installer.js
2019-08-05 22:23:46 -04:00
Danny McCormick
213c968cb9
Update io (#22) 2019-08-05 16:46:12 -04:00
Danny McCormick
9580326150 Add correct tool-cache 2019-08-05 14:46:03 -04:00