Commit graph

128 commits

Author SHA1 Message Date
Sergey Dolin
3ef527264a review updates second stage 2023-06-14 20:39:09 +02:00
Sergey Dolin
6aacde798c review updates 2023-06-08 14:54:51 +02:00
Sergey Dolin
b8b9502971 Add unique 2023-06-06 16:35:29 +02:00
Sergey Dolin
d2b7e08b80 review fixes 2023-06-02 20:54:57 +02:00
Sergey Dolin
9ddc512bc1 Apply fixes 2023-05-30 19:51:22 +02:00
Sergey Dolin
7406bf5e76 Changes requests 2023-05-27 10:24:53 +02:00
Sergey Dolin
5de08eab2b refactor, introduce cacheDependencyPathToProjectsDirectories
it is necessary for the next PR related yarn optimization
2023-05-27 10:24:53 +02:00
Sergey Dolin
914a8e9bcc Handle globs in cacheDependencyPath 2023-05-27 10:24:53 +02:00
Sergey Dolin
d836439c6a bump cache version 2023-05-27 10:24:53 +02:00
Sergey Dolin
a3d2aaf78f handle non-dir cache-dependency-path 2023-05-27 10:24:53 +02:00
Sergey Dolin
813556063c Apply change request fixes 2023-05-27 10:24:53 +02:00
Sergey Dolin
9b43de6ca3 Add unit tests 2023-05-27 10:24:52 +02:00
Sergey Dolin
9e025d3ea1 format & resolve conflicts 2023-05-27 10:24:52 +02:00
Sergey Dolin
0b6156785a Remove package-dir input 2023-05-27 10:24:52 +02:00
Sergey Dolin
2d87f2fcc7 Fix find lock file 2023-05-27 10:24:52 +02:00
Sergey Dolin
02aa3290a3 Add project-dir 2023-05-27 10:24:50 +02:00
Adam Jones
d98fa11138
bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes (#718) 2023-04-11 09:31:41 +02:00
Ivan
962678f22c
Add and configure ESLint and update configuration for Prettier (#703)
* Add ESLinter and update Prettier

* Update eslint config

* Update dependencies

* Rebuild action

* Update package.json

* Updates docs

* Update docs
2023-03-08 10:47:38 +02:00
Dmitry Shibanov
64ed1c7eab
Add support for v8-canary, nightly and rc (#655) 2023-01-05 13:16:21 +01:00
Sergey Dolin
b28830cbe2 replace throw with warn 2022-12-12 10:21:16 +01:00
Sergey Dolin
676975d9aa Use early return pattern 2022-12-09 11:41:54 +01:00
Sergey Dolin
a69d45adcd Add modification of scoped registry 2022-12-05 13:32:26 +01:00
Sergey Dolin
41acaa2e85
fix version output from file (#625) 2022-11-17 14:43:40 +01:00
Dmitry Shibanov
2349c84f5c
Add support for nightly and rc versions (#611) 2022-11-17 14:35:58 +01:00
Dmitry Shibanov
00e1b6691b
Pass the token input through on GHES (#595) 2022-11-02 12:24:44 +01: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
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