Commit Graph

76 Commits

Author SHA1 Message Date
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
2021-06-16 09:52:44 +03:00
Rohan Chougule 68fafecfa4
refactor: use core.info instead of console.log (#185) 2021-01-20 10:28:35 -05:00
Andres Vargas d8c1b596a6 Merge branch 'main' of github.com:actions/setup-node into main 2020-12-15 11:52:46 -06:00
Amin Yahyaabadi d6fea3c137 update message to be more general
This considers self-hosted runners
2020-12-09 11:27:02 -06:00
Amin Yahyaabadi 5984462aaa Rename node-arch to architecture 2020-12-08 16:24:02 -06:00
Amin Yahyaabadi aabe026707 Merge remote-tracking branch 'upstream/main' into arch 2020-12-08 16:15:00 -06:00
Andres Vargas 7d147e85af unstage changes 2020-10-27 18:17:58 -06:00
Andres Vargas 312bbeecfd update changes 2020-10-21 18:38:23 -05:00
Andres Vargas 26a6dcb73b update the index file 2020-10-21 18:34:14 -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
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
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 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
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
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
eric sciple 1c5c1375b3
consume getJson function for better error messages (#110) 2020-02-05 11:20:33 -05:00
eric sciple d123f10543
follow proxy settings (#105) 2020-01-27 10:37:12 -05:00