Commit graph

94 commits

Author SHA1 Message Date
Hargun Kaur
e75d7c128f Merge remote-tracking branch 'refs/remotes/origin/pull209' into pull209 2021-11-22 18:29:21 +00:00
Hargun Kaur
a2b4d83e03 import os = require('os'); moved back 2021-11-22 18:27:55 +00:00
La'Kaleigh Harris
4e4d3278fa adds path to error output
* fix grammar in README & Advance usage docs
* update example in action.yml
2021-11-16 23:43:08 +00:00
Dmitry Shibanov
d465795688 add fix for installer tests 2021-11-08 17:19:03 +03:00
La'Kaleigh Harris
8dfead4556 fix error in unit test 2021-11-08 14:00:49 +00:00
La'Kaleigh Harris
243f7be265 fixed unit tests 2021-11-02 20:55:05 +00:00
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
aa06bd5a2d import * as hc from '@actions/http-client';
moved back
2021-10-07 16:54:10 +00:00
Hargun Kaur
10f97d59d0 removed extra line 15 installer.js 2021-10-07 16:48:40 +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
Hargun Kaur
e471f47826 code syntax matched 2021-10-04 23:06:33 +00:00
Hargun Kaur
2fb803baf3 refactored installer.test.ts 2021-10-04 23:00:00 +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
Manuel
d1178716db Add 'cache-hit' as output 2021-09-23 13:17:32 +00:00
MaksimZhukov
9f31dbbbc4 Support caching for mono repos and repositories with complex structure 2021-08-02 20:44:59 +03:00
Jacob Gillespie
b96348a4e9
Remove unused imports 2021-07-15 12:46:07 +01:00
Jacob Gillespie
3af302a4f2
Switch to pnpm store path command 2021-07-15 12:43:19 +01:00
Jacob Gillespie
399982b368
Move existence check to cache-save 2021-07-14 15:25:45 +01:00
Jacob Gillespie
d278e78bdd
Add logic to check that cache folder exists 2021-07-14 13:06:33 +01:00
Jacob Gillespie
162ddf7c40
Add pnpm caching support 2021-06-30 20:17:23 +01:00
Dmitry Shibanov
55e10498cf Merge branch 'main' into add-caching-for-node-dependencies 2021-06-30 11:39:23 +03:00
Gordey Doronin
48042628a6 Stricter check and cleaner messaging 2021-06-30 09:34:42 +02:00
Dmitry Shibanov
d36a3314a5 work on resolving comments 2021-06-25 12:06:49 +03:00
Gordey Doronin
c2dfe2df98 Reuse manifest code 2021-06-22 17:52:06 +02:00
Gordey Doronin
d9ce83b637 Formatter 2021-06-22 16:11:44 +02:00
Gordey Doronin
92722aec8c Logic remastered to not force check-latest 2021-06-22 15:45:25 +02:00
Gordey Doronin
c62861c1e7 Rename 2021-06-22 13:10:16 +02:00
Gordey Doronin
36d2ce149e Switch warning to info logging 2021-06-21 14:33:27 +02:00
Gordey Doronin
0ec4841e4b Function renaming 2021-06-21 11:39:00 +02:00
Gordey Doronin
e761a7024e Interface extraction 2021-06-21 11:37:50 +02:00
Gordey Doronin
c8c6442c74 Add brief comment about supported formats 2021-06-21 11:37:06 +02:00
Gordey Doronin
c8889b24a3 Support lts/* alias 2021-06-17 18:34:09 +02:00
Gordey Doronin
88d5bfde31 Support LTS aliases 2021-06-17 17:51:02 +02: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