Commit Graph

375 Commits

Author SHA1 Message Date
Amin Yahyaabadi
99d584aa06 docs: enhance the readme example to include multiple os, version, and archs 2020-09-06 11:32:03 -05:00
Amin Yahyaabadi
2a5c060ce2 fix: add warning for when arch is supplied but version is missing 2020-09-06 11:09:41 -05:00
Amin Yahyaabadi
2801f51f90 chore: build
git clean -ffdx && npm ci && npm run pre-checkin
2020-09-05 06:59:22 -05:00
Amin Yahyaabadi
0a161fe2f9 fix: use arch instead of osArch in INodeVersionInfo 2020-09-05 06:58:15 -05:00
Amin Yahyaabadi
63fffe4411 chore: add line-ending to gitattribute 2020-09-03 13:51:55 -05:00
Amin Yahyaabadi
a83bf51129 test: test using main.run and spying 2020-09-03 12:40:39 -05:00
Amin Yahyaabadi
922f2f9468 test: revert using nock and fixtures 2020-09-03 12:33:53 -05:00
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>
2020-09-03 12:33:50 -05:00
Amin Yahyaabadi
66f3e9f7ce feat: add arch to queryDistForMatch 2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
82271389a6 feat: add arch to cacheDir 2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
2e40994c28 feat: add arch to getInfoFromDist 2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
c7e4d38541 feat: add arch to downloading message 2020-09-03 12:18:12 -05:00
Amin Yahyaabadi
3eb4bc9d68 feat: add arch to acquireNodeFromFallbackLocation 2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
bf47decdc2 feat: add arch to tc.find
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
6afbfca452 feat: add arch to getInfoFromManifest 2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
3e84c3523b feat: add arch to INodeVersionInfo 2020-09-03 07:52:40 -05:00
Amin Yahyaabadi
6668516d2a feat: add arch to resolveVersionFromManifest 2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
f27ebaf08b feat: add arch to getNode
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
42d59fbc36 feat: add arch to run 2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
2d8887128d feat: node-arch in action.yml
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
0635b31a61 feat: add readme for architecture
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Bryan MacFarlane
59e61b8951 main workflow references 2020-07-22 08:12:24 -04:00
Maxim Lobanov
321b6ccb03
Switch from "master" to "main" branch (#171)
* Switch from "master" to "main" branch

* Update README.md
2020-07-20 12:50:59 -04:00
Maxim Lobanov
1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one (#165) 2020-06-29 14:56:37 -04:00
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