Commit Graph

43 Commits (32f78d9bfa2231a19189276b12cbe92b30c98872)

Author SHA1 Message Date
Vladimir Safonkin 348e008008
Fix node version file parsing (#553)
* Fix node version file parsing

* Build index.js

* Non-json file error handling

* Format code

* Add package.json to e2e tests

* Minor fix
2022-08-04 09:57:19 +02:00
mannie.exe 2a814b57e1
Respect `package.json`'s `engines.node` field when used as a `node-version-file` (#485)
* Allow reading 'package.json' as node-version-file

* Run 'npm run build'

* Read package.json contents directly during tests

- this eliminates OS-specific line-ending issues

* Run project Prettier 💅
2022-07-21 13:17:21 -04:00
Dmitry Shibanov 2fddd8803e
fixing pnpm output issue (#545) 2022-07-13 16:20:39 +02:00
Dmitry Shibanov 072a2e3b10 add trim and silent true 2022-07-12 14:19:55 +02:00
Dmitry Shibanov 28ad38fe06 add try catch 2022-07-12 10:45:50 +02:00
Dmitry Shibanov 48de4c13f6 change to streams 2022-07-12 10:36:10 +02:00
Dmitry Shibanov aab7cc882a add silent 2022-07-12 10:30:30 +02:00
Marko Zivic 5b949b50c3
Merge pull request #373 from ganta/add-support-for-asdf-format-as-node-version-file
Add support for asdf format as Node.js version file
2022-07-11 13:48:55 +02:00
AJ Jordan b3ca1ac971
Support npm-shrinkwrap.json out-of-the-box (#439) 2022-07-04 23:29:56 +02:00
Filip Skokan adeb189fd8 apply review feedback 2022-07-01 00:46:13 +02:00
Filip Skokan 0d7418813c run build&format 2022-07-01 00:28:26 +02:00
IvanZosimov 1196f2ae1b Rebuild action with the new @actions/cache dependency 2022-06-24 12:36:36 +02:00
Jack Bates eeb10cff27
Support lts/-n aliases (#481) 2022-06-02 12:30:33 +02:00
Hideki Igarashi dbb64ac1d1 Add support for asdf format as Node.js version file 2022-05-30 20:13:04 +09:00
Dmitry Shibanov ed1a46e9f2
Update zeit/ncc to vercel/ncc (#476) 2022-05-30 11:56:20 +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 9a03ebd9cc run build 2022-05-19 17:06:51 +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
Deepak Dahiya 56337c4255
Updated @actions/cache (#460)
* Updated @actions/cache

* Licensed cache

* new build

* Updated version
2022-04-11 19:06:18 +05:30
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 3e90744edf
Update lockfileVersion (#422) 2022-02-24 14:42:19 +03:00
Thomas Boop 28df918a56
Update default runtime to node16 (#414) 2022-02-22 11:28:24 +03:00
Dmitry Shibanov 9a74eb4e64
Throw error only if exit code is note zero. (#358) 2021-12-27 12:34:06 +03:00
Dmitry Shibanov 04c56d2f95
update cache to 1.0.8 (#367) 2021-11-29 13:35:08 +03:00
Hargun Kaur d08cf22211
Adding Node.js version file support (#338) 2021-11-29 12:18:31 +03:00
Dmitry Shibanov a4b8ed2f4e
Update dependencies (#346) 2021-10-14 13:18:01 +03: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 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
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
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