Commit Graph

89 Commits (166e53bba8f9f9720c3172308ef3f46278638aa2)

Author SHA1 Message Date
Dmitry Shibanov e81c4f8a21 resolve comments 2022-12-27 17:44:25 +01:00
Dmitry Shibanov f3c48890ed minor polishing 2022-12-22 01:09:28 +01:00
Dmitry Shibanov 15e57b56d6 add mock 2022-12-22 00:43:00 +01:00
Dmitry Shibanov 5af9d8577e fixing main tests 2022-12-22 00:27:25 +01:00
Dmitry Shibanov 2723204c59 restructure tests 2022-12-22 00:05:42 +01:00
Dmitry Shibanov 822a587e93 Merge branch 'main' into v-dmshib/v8-canary-factory 2022-12-20 21:13:46 +01:00
Sergey Dolin b28830cbe2 replace throw with warn 2022-12-12 10:21:16 +01:00
Sergey Dolin e77eaaccd3 Add unit tests 2022-12-05 13:36:23 +01:00
Sergey Dolin 658b51b920 requested changes 2022-11-24 18:52:31 +01:00
Sergey Dolin 505679238a Fix nightly unit tests 2022-11-24 12:20:32 +01:00
Sergey Dolin 6e2b26d097 Fix windows test 2022-11-24 08:42:52 +01:00
Sergey Dolin d38528abe0 prettier 2022-11-24 05:29:48 +01:00
Sergey Dolin 1536edb40e Add tests 2022-11-24 05:16:27 +01:00
Sergey Dolin 0081915898 refactor nightly and rc 2022-11-24 05:16:09 +01:00
Sergey Dolin 588599b944 Add v8 canary unit tests 2022-11-22 11:43:16 +01:00
Dmitry Shibanov 2349c84f5c
Add support for nightly and rc versions (#611) 2022-11-17 14:35:58 +01:00
Francesco Renzi 8c91899e58
Update @actions/core to 1.10.0 (#587) 2022-10-13 12:11:08 +02:00
Uladzimir Havenchyk c81d8ad96d
Print node, npm and yarn versions after installation (#368) 2022-10-03 16:02:04 +02:00
Evgenii Korolevskii 969bd26639
Fix test volta priority (#577) 2022-09-26 13:58:23 +02:00
Jef LeCompte 94f88d78c4
Merge remote-tracking branch 'upstream/main' 2022-08-04 09:28:48 -07:00
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
Jef LeCompte 9f20343a3a
style: change test name 2022-07-27 14:27:21 -07:00
Jef LeCompte 57cec77d94
refactor: volta check 2022-07-27 14:25:39 -07:00
Jef LeCompte 5a01179c35
Merge remote-tracking branch 'upstream/main' 2022-07-27 14:15:58 -07: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
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
Filip Skokan 460f88643a fixup mocked version output 2022-07-01 01:30:18 +02:00
Filip Skokan d8b0944270 add mock for getExecOutput in installer.test.ts 2022-07-01 01:27:37 +02:00
Jef LeCompte 4096f07b51
chore: run prettier 2022-06-30 09:57:00 -07:00
Jef LeCompte d86a20eb78
test: fix versionSpec 2022-06-30 09:17:18 -07:00
Jef LeCompte dbfbe9b6da
refactor: move volta logic 2022-06-29 15:37:53 -07:00
Jef LeCompte 9aa86428fe
chore: run prettier 2022-06-29 15:11:14 -07:00
Jef LeCompte a03d9f05e4
test: add node-version-file test 2022-06-29 12:28:21 -07:00
IvanZosimov bcb9f31327 Format cache-save.test.ts 2022-06-27 10:19:35 +02:00
IvanZosimov 73ea510762 Update unit-tests for cache-save.ts file, add coverage option to Jest 2022-06-27 10:17:28 +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
Hideki Igarashi 82496765f3 Add tests for parseNodeVersionFile 2022-05-30 20:05:14 +09:00
panticmilos fd1b409bc3 unit tests 2022-05-19 17:33:13 +02:00
Jack Bates 4d62fafc05
Add test for node-version * (#491) 2022-05-18 09:50:05 +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
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
Brian Cristante 996306e892 rm __tests__/verify-no-unstaged-changes.sh 2021-09-16 10:54:26 -04:00
Alena Sviridenko d21ecc7c5b
Revert "Temporarily disabled cache usage for v2" 2021-08-04 17:00:35 +03:00
AlyonaSviridenko 004fb83876 Temporarily disabled cache usage 2021-08-03 18:33:25 +03:00
Jacob Gillespie f452812b44
Unmock fs.existsSync after tests 2021-07-15 12:40:08 +01:00
Jacob Gillespie e93556ca66
Mock fs.existsSync in tests 2021-07-14 20:11:07 +01:00
Jacob Gillespie f24e78e0f6
Update __tests__/cache-save.test.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-07-14 13:01:18 +01:00