Commit Graph

86 Commits (3235b876344d2a9aa001b8d1453c930bba69e610)

Author SHA1 Message Date
Nikolai Laevskii e52912ef25 Update tests 2 years ago
Nikolai Laevskii 9e956a555c Add notice about binaries not being updated yet 2 years ago
Dmitry Shibanov bea5baf987
change getinput to getstate for cache (#816) 2 years ago
Vytis Valentinavičius ca2d4e0cdd
feat: handling the case where "node" is used for tool-versions file. (#812) 2 years ago
Dmitry Shibanov c7a93deeac
resolve SymbolicLink (#809) 2 years ago
Sergey Dolin e33196f742
Do not ivalidate the cache entirely on lock file change (#744)
* Do not ivalidate the cache entirely on yarn3 lock file change

* Use cache prefix if all sub-projects are yarn managed

* Rename functions & add e2e tests
2 years ago
Sergey Dolin 8170e22e8f
Detect cached folders from multiple directories (#735)
* Add project-dir

* Fix find lock file

* Remove package-dir input

* format & resolve conflicts

* Add unit tests

* build dist

* Apply change request fixes

* handle non-dir cache-dependency-path

* bump cache version

* run checks

* Handle globs in cacheDependencyPath

* refactor, introduce `cacheDependencyPathToProjectsDirectories`

it is necessary for the next PR related yarn optimization

* Changes requests

* Apply fixes

* review fixes

* add e2e

* Add unique

* review updates

* review updates second stage

* Review fixes 3

* imporve e2e tests
2 years ago
Adam Jones d98fa11138
bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes (#718) 2 years ago
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
3 years ago
Dmitry Shibanov 64ed1c7eab
Add support for v8-canary, nightly and rc (#655) 3 years ago
Sergey Dolin b28830cbe2 replace throw with warn 3 years ago
Sergey Dolin e77eaaccd3 Add unit tests 3 years ago
Dmitry Shibanov 2349c84f5c
Add support for nightly and rc versions (#611) 3 years ago
Francesco Renzi 8c91899e58
Update @actions/core to 1.10.0 (#587) 3 years ago
Uladzimir Havenchyk c81d8ad96d
Print node, npm and yarn versions after installation (#368) 3 years ago
Evgenii Korolevskii 969bd26639
Fix test volta priority (#577) 3 years ago
Jef LeCompte 94f88d78c4
Merge remote-tracking branch 'upstream/main' 3 years ago
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
Jef LeCompte 9f20343a3a
style: change test name 3 years ago
Jef LeCompte 57cec77d94
refactor: volta check 3 years ago
Jef LeCompte 5a01179c35
Merge remote-tracking branch 'upstream/main' 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
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
Filip Skokan 460f88643a fixup mocked version output 3 years ago
Filip Skokan d8b0944270 add mock for getExecOutput in installer.test.ts 3 years ago
Jef LeCompte 4096f07b51
chore: run prettier 3 years ago
Jef LeCompte d86a20eb78
test: fix versionSpec 3 years ago
Jef LeCompte dbfbe9b6da
refactor: move volta logic 3 years ago
Jef LeCompte 9aa86428fe
chore: run prettier 3 years ago
Jef LeCompte a03d9f05e4
test: add node-version-file test 3 years ago
IvanZosimov bcb9f31327 Format cache-save.test.ts 3 years ago
IvanZosimov 73ea510762 Update unit-tests for cache-save.ts file, add coverage option to Jest 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
Hideki Igarashi 82496765f3 Add tests for parseNodeVersionFile 3 years ago
panticmilos fd1b409bc3 unit tests 3 years ago
Jack Bates 4d62fafc05
Add test for node-version * (#491) 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
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
Brian Cristante 996306e892 rm __tests__/verify-no-unstaged-changes.sh 4 years ago
Alena Sviridenko d21ecc7c5b
Revert "Temporarily disabled cache usage for v2" 4 years ago
AlyonaSviridenko 004fb83876 Temporarily disabled cache usage 4 years ago
Jacob Gillespie f452812b44
Unmock fs.existsSync after tests 4 years ago
Jacob Gillespie e93556ca66
Mock fs.existsSync in tests 4 years ago
Jacob Gillespie f24e78e0f6
Update __tests__/cache-save.test.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
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