Commit graph

61 commits

Author SHA1 Message Date
Hargun Kaur
cc2914011d build syncing 2021-11-02 13:38:38 +00:00
Hargun Kaur
edcb32fa21
Merge branch 'actions:main' into pull209 2021-11-02 11:16:24 +05:30
Hargun Kaur
34ece939a3 syncing with main 2021-10-26 15:39:16 +00:00
Dmitry Shibanov
a4b8ed2f4e
Update dependencies (#346) 2021-10-14 13:18:01 +03:00
La'Kaleigh Harris
6f69e28606 defined GITHUB_WORKSPACE env variable for node-version-file test 2021-10-08 16:52:49 +00:00
Hargun Kaur
3f779ed5d2 built done for changes 2021-10-07 17:22:47 +00:00
Hargun Kaur
5b7f417c91 build successful 2021-10-06 20:08:47 +00:00
Hargun Kaur
6e5214fff0 build successful 2021-10-06 20:06:03 +00:00
La'Kaleigh Harris
7d40f6c598 added correct path to version file 2021-10-06 19:17:08 +00:00
La'Kaleigh Harris
fe30936a89
Delete index.js 2021-10-06 14:26:27 -04: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
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
Maxim Lobanov
76a4cff9ae update readme and dist files 2021-08-05 12:00:47 +00:00
MaksimZhukov
180b77fed2 Update the caching section in the README 2021-08-03 17:18:13 +03:00
MaksimZhukov
9f31dbbbc4 Support caching for mono repos and repositories with complex structure 2021-08-02 20:44:59 +03:00
Jacob Gillespie
3af302a4f2
Switch to pnpm store path command 2021-07-15 12:43:19 +01:00
Jacob Gillespie
0453e516eb
Regenerate compiled files 2021-07-14 15:25:55 +01:00
Jacob Gillespie
162ddf7c40
Add pnpm caching support 2021-06-30 20:17:23 +01:00
Dmitry Shibanov
cfe70f9fe8 update dependencies 2021-06-30 13:08:07 +03:00
Dmitry Shibanov
b259ba49fe rebuild project 2021-06-30 11:41:00 +03: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
Maxim Lobanov
282049a5b1
regenerate license (#7)
* regenerate license

* npm run build

* sync branches

* rebuild project

* fix test

Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com>
2021-06-29 13:34:35 +03: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
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
bcdcde00c0 Stage dist files 2021-06-21 11:40:55 +02:00
Dmitry Shibanov
05f3e9f4fa remove eol in gitattributes 2021-06-17 17:20:16 +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
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
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
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