Filip Skokan
adeb189fd8
apply review feedback
2022-07-01 00:46:13 +02:00
Filip Skokan
3ac35dad40
This PR adds node-version
to the action output.
...
This is present in e.g. setup-python
https://github.com/actions/setup-python/blob/main/action.yml
closes #150
2022-06-30 21:56:36 +02:00
IvanZosimov
eaead3517c
Update cache-save.ts to support @actions/cache v3.0.0 lib
2022-06-27 10:11:42 +02:00
Jack Bates
eeb10cff27
Support lts/-n aliases ( #481 )
2022-06-02 12:30:33 +02:00
panticmilos
b14573ddb9
remove installer import
2022-05-23 12:53:31 +02:00
panticmilos
7569de03e7
rename dist manifest to node versions
2022-05-20 16:32:52 +02:00
panticmilos
b20a2561b9
get manifest once
2022-05-20 13:45:28 +02:00
panticmilos
141334fcd1
remove unnecessary dist call
2022-05-19 18:21:03 +02:00
panticmilos
fd1b409bc3
unit tests
2022-05-19 17:33:13 +02:00
panticmilos
45e544a71a
fix versionSpec required error
2022-05-19 17:02:08 +02:00
panticmilos
8c66f89aef
improve latest version syntax
2022-05-19 16:48:16 +02:00
Milos Pantic
17f8bd9264
Expand current syntax to support aliases for latest version (current/latest/node) ( #483 )
2022-05-12 17:26:02 +02:00
Dmitry Shibanov
bacd6b4b3a
Caching on GHES ( #452 )
...
* add support for ghes caching
* fix licesnses
* work on resolving comments
* change internal error to warning
* fix warning for internal errors
* update version
2022-03-31 15:10:37 -04:00
Dmitry Shibanov
9ced9a43a2
remove version input ( #424 )
2022-02-24 16:31:57 +03:00
Dmitry Shibanov
1f8c6b94b2
Pass to warning uncaught exceptions ( #359 )
2021-12-28 12:25:43 +03:00
Dmitry Shibanov
9a74eb4e64
Throw error only if exit code is note zero. ( #358 )
2021-12-27 12:34:06 +03:00
Hargun Kaur
d08cf22211
Adding Node.js version file support ( #338 )
2021-11-29 12:18:31 +03: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
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
Andres Vargas
66dfac5328
update comment
2020-10-21 19:02:40 -05:00
Andres Vargas
14e150d2b1
update changes
2020-10-21 18:22:21 -05:00
Andres Vargas
8dde5bc004
adding test for NODE_AUTH_TOKEN overwritten
2020-10-21 18:14:34 -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
0a161fe2f9
fix: use arch instead of osArch in INodeVersionInfo
2020-09-05 06:58:15 -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