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
3a1b76e782
refactor: remove locally caught exceptions
2022-08-04 09:33:09 -07: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
bb59d50268
chore: run prettier
2022-07-27 14:35:09 -07:00
Jef LeCompte
5b579f1638
refactor: check volta first, then engine
2022-07-27 14:31:06 -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
Dmitry Shibanov
2fddd8803e
fixing pnpm output issue ( #545 )
2022-07-13 16:20:39 +02:00
Dmitry Shibanov
3d11add771
remove unused import
2022-07-12 14:44:36 +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
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
Jef LeCompte
1c48dc5a9e
chore: trim no matter what
2022-06-30 09:22:35 -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
1a4ff5493d
feat: add volta as node-version-file
2022-06-29 12:01:42 -07: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
Hideki Igarashi
dbb64ac1d1
Add support for asdf format as Node.js version file
2022-05-30 20:13:04 +09: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