Commit Graph

91 Commits (e954e154314f6a50ae79ea6c1c369b1f340307ff)

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
3 years ago
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 💅
3 years ago
Dmitry Shibanov 2fddd8803e
fixing pnpm output issue (#545) 3 years ago
Dmitry Shibanov 3d11add771 remove unused import 3 years ago
Dmitry Shibanov 072a2e3b10 add trim and silent true 3 years ago
Dmitry Shibanov 28ad38fe06 add try catch 3 years ago
Dmitry Shibanov 48de4c13f6 change to streams 3 years ago
Dmitry Shibanov aab7cc882a add silent 3 years ago
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
3 years ago
AJ Jordan b3ca1ac971
Support npm-shrinkwrap.json out-of-the-box (#439) 3 years ago
Filip Skokan adeb189fd8 apply review feedback 3 years ago
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
3 years ago
IvanZosimov eaead3517c Update cache-save.ts to support @actions/cache v3.0.0 lib 3 years ago
Jack Bates eeb10cff27
Support lts/-n aliases (#481) 3 years ago
Hideki Igarashi dbb64ac1d1 Add support for asdf format as Node.js version file 3 years ago
panticmilos b14573ddb9 remove installer import 3 years ago
panticmilos 7569de03e7 rename dist manifest to node versions 3 years ago
panticmilos b20a2561b9 get manifest once 3 years ago
panticmilos 141334fcd1 remove unnecessary dist call 3 years ago
panticmilos fd1b409bc3 unit tests 3 years ago
panticmilos 45e544a71a fix versionSpec required error 3 years ago
panticmilos 8c66f89aef improve latest version syntax 3 years ago
Milos Pantic 17f8bd9264
Expand current syntax to support aliases for latest version (current/latest/node) (#483) 3 years ago
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
3 years ago
Dmitry Shibanov 9ced9a43a2
remove version input (#424) 3 years ago
Dmitry Shibanov 1f8c6b94b2
Pass to warning uncaught exceptions (#359) 4 years ago
Dmitry Shibanov 9a74eb4e64
Throw error only if exit code is note zero. (#358) 4 years ago
Hargun Kaur d08cf22211
Adding Node.js version file support (#338) 4 years ago
Manuel d1178716db Add 'cache-hit' as output 4 years ago
MaksimZhukov 9f31dbbbc4 Support caching for mono repos and repositories with complex structure 4 years ago
Jacob Gillespie b96348a4e9
Remove unused imports 4 years ago
Jacob Gillespie 3af302a4f2
Switch to pnpm store path command 4 years ago
Jacob Gillespie 399982b368
Move existence check to cache-save 4 years ago
Jacob Gillespie d278e78bdd
Add logic to check that cache folder exists 4 years ago
Jacob Gillespie 162ddf7c40
Add pnpm caching support 4 years ago
Dmitry Shibanov 55e10498cf Merge branch 'main' into add-caching-for-node-dependencies 4 years ago
Gordey Doronin 48042628a6 Stricter check and cleaner messaging 4 years ago
Dmitry Shibanov d36a3314a5 work on resolving comments 4 years ago
Gordey Doronin c2dfe2df98 Reuse manifest code 4 years ago
Gordey Doronin d9ce83b637 Formatter 4 years ago
Gordey Doronin 92722aec8c Logic remastered to not force check-latest 4 years ago
Gordey Doronin c62861c1e7 Rename 4 years ago
Gordey Doronin 36d2ce149e Switch warning to info logging 4 years ago
Gordey Doronin 0ec4841e4b Function renaming 4 years ago
Gordey Doronin e761a7024e Interface extraction 4 years ago
Gordey Doronin c8c6442c74 Add brief comment about supported formats 4 years ago
Gordey Doronin c8889b24a3 Support lts/* alias 4 years ago
Gordey Doronin 88d5bfde31 Support LTS aliases 4 years ago
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
4 years ago
Rohan Chougule 68fafecfa4
refactor: use core.info instead of console.log (#185) 5 years ago