Commit Graph

78 Commits (a4fcaaf314b117a40d694a35ee36461f8ff3c6e6)

Author SHA1 Message Date
Ivan 962678f22c
Add and configure ESLint and update configuration for Prettier ()
* Add ESLinter and update Prettier

* Update eslint config

* Update dependencies

* Rebuild action

* Update package.json

* Updates docs

* Update docs
Dmitry Shibanov 64ed1c7eab
Add support for v8-canary, nightly and rc ()
Sergey Dolin b28830cbe2 replace throw with warn
Sergey Dolin e77eaaccd3 Add unit tests
Dmitry Shibanov 2349c84f5c
Add support for nightly and rc versions ()
Francesco Renzi 8c91899e58
Update @actions/core to 1.10.0 ()
Uladzimir Havenchyk c81d8ad96d
Print node, npm and yarn versions after installation ()
Evgenii Korolevskii 969bd26639
Fix test volta priority ()
Jef LeCompte 94f88d78c4
Merge remote-tracking branch 'upstream/main'
Vladimir Safonkin 348e008008
Fix node version file parsing ()
* Fix node version file parsing

* Build index.js

* Non-json file error handling

* Format code

* Add package.json to e2e tests

* Minor fix
Jef LeCompte 9f20343a3a
style: change test name
Jef LeCompte 57cec77d94
refactor: volta check
Jef LeCompte 5a01179c35
Merge remote-tracking branch 'upstream/main'
mannie.exe 2a814b57e1
Respect `package.json`'s `engines.node` field when used as a `node-version-file` ()
* 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 💅
Marko Zivic 5b949b50c3
Merge pull request from ganta/add-support-for-asdf-format-as-node-version-file
Add support for asdf format as Node.js version file
Filip Skokan 460f88643a fixup mocked version output
Filip Skokan d8b0944270 add mock for getExecOutput in installer.test.ts
Jef LeCompte 4096f07b51
chore: run prettier
Jef LeCompte d86a20eb78
test: fix versionSpec
Jef LeCompte dbfbe9b6da
refactor: move volta logic
Jef LeCompte 9aa86428fe
chore: run prettier
Jef LeCompte a03d9f05e4
test: add node-version-file test
IvanZosimov bcb9f31327 Format cache-save.test.ts
IvanZosimov 73ea510762 Update unit-tests for cache-save.ts file, add coverage option to Jest
Jack Bates eeb10cff27
Support lts/-n aliases ()
Hideki Igarashi dbb64ac1d1 Add support for asdf format as Node.js version file
Hideki Igarashi 82496765f3 Add tests for parseNodeVersionFile
panticmilos fd1b409bc3 unit tests
Jack Bates 4d62fafc05
Add test for node-version * ()
Milos Pantic 17f8bd9264
Expand current syntax to support aliases for latest version (current/latest/node) ()
Dmitry Shibanov bacd6b4b3a
Caching on GHES ()
* add support for ghes caching

* fix licesnses

* work on resolving comments

* change internal error to warning

* fix warning for internal errors

* update version
Hargun Kaur d08cf22211
Adding Node.js version file support ()
Manuel d1178716db Add 'cache-hit' as output
Brian Cristante 996306e892 rm __tests__/verify-no-unstaged-changes.sh
Alena Sviridenko d21ecc7c5b
Revert "Temporarily disabled cache usage for v2"
AlyonaSviridenko 004fb83876 Temporarily disabled cache usage
Jacob Gillespie f452812b44
Unmock fs.existsSync after tests
Jacob Gillespie e93556ca66
Mock fs.existsSync in tests
Jacob Gillespie f24e78e0f6
Update __tests__/cache-save.test.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
Jacob Gillespie 162ddf7c40
Add pnpm caching support
Dmitry Shibanov 55e10498cf Merge branch 'main' into add-caching-for-node-dependencies
Gordey Doronin 48042628a6 Stricter check and cleaner messaging
Gordey Doronin 8624ddbdce Extract common setup logic to hook
Maxim Lobanov 282049a5b1
regenerate license ()
* regenerate license

* npm run build

* sync branches

* rebuild project

* fix test

Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com>
Gordey Doronin 9b447f0b81 Fix paths for windows tests
Dmitry Shibanov d36a3314a5 work on resolving comments
Gordey Doronin c2dfe2df98 Reuse manifest code
Gordey Doronin d9ce83b637 Formatter
Gordey Doronin 56c3db9dda Cleanup redundant leftover
Gordey Doronin 92722aec8c Logic remastered to not force check-latest