Commit graph

30 commits

Author SHA1 Message Date
Hargun Kaur
c1c463274c build success 2021-11-02 16:39:19 +00:00
Hargun Kaur
36c80a7556 minor changes and error fix 2021-11-02 16:31:18 +00:00
Hargun Kaur
cc2914011d build syncing 2021-11-02 13:38:38 +00:00
Hargun Kaur
6382f41129 checks implemented for node version file 2021-11-02 13:34:36 +00:00
Hargun Kaur
34ece939a3 syncing with main 2021-10-26 15:39:16 +00:00
Hargun Kaur
36bb47b5a0 return version otherwise action will fail 2021-10-26 15:33:06 +00:00
Hargun Kaur
f927de6ff2 separate function for resolving version file added 2021-10-25 04:27:22 +00:00
Hargun Kaur
3f779ed5d2 built done for changes 2021-10-07 17:22:47 +00:00
Hargun Kaur
b94f87b4af parseNodeVersionFile changed from async function 2021-10-07 16:46:55 +00:00
Hargun Kaur
a03cbe2e3f changed import from syntax instead require line 3 and line 8 2021-10-07 16:42:34 +00:00
Hargun Kaur
b8f2a97f38 changed path of versionFilePath line 24 main.ts 2021-10-07 16:34:19 +00:00
Hargun Kaur
fa3de08e5c removed await from line 25 main.ts 2021-10-07 16:31:14 +00:00
La'Kaleigh Harris
ec979d0561 removed unnessary test
* added fail-fast to strategy  in versions.yml
* refactored logic in main that was causing test to fail
2021-10-06 16:40:36 +00:00
La'Kaleigh Harris
c178bbba23 removed test logic in ParseNodeVersionFile for lts and partial matching 2021-10-05 16:54:02 +00:00
La'Kaleigh Harris
b1ed0c36e7 moved node version section in README to advanced usage
added link to README
* migrated contents of version-file-workflow.yml to versions.yml
* further refactored parseNodeVersionFile() & tests
* removed type annotations in catch ()
2021-10-05 15:01:26 +00:00
La'Kaleigh Harris
25794099fc fixed merge conflicts 2021-10-04 15:14:32 +00:00
La'Kaleigh Harris
82441b3f82 Refactored code and removed redundant logic 2021-10-01 19:16:00 +00:00
La'Kaleigh Harris
bca281829f fixed merge conflicts 2021-10-01 12:39:21 +00:00
Hargun Kaur
75c85842d4 fixed missing brackets and merged main 2021-09-30 19:26:10 +00:00
MaksimZhukov
9f31dbbbc4 Support caching for mono repos and repositories with complex structure 2021-08-02 20:44:59 +03:00
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
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
Taylor McCarthy
a0d376d3fa Expand node version file support to include lts based codenames 2020-11-18 22:05:51 -05:00
Taylor McCarthy
c3812bd36a Implemented support for repository defined node version files such as '.nvmrc' 2020-11-01 17:30:42 -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
42d59fbc36 feat: add arch to run 2020-09-03 07:52:39 -05: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