Commit Graph

96 Commits (main)

Author SHA1 Message Date
Salman Chishti b7234cc9fe
Upgrade action to use node24 (#1325)
* Change Node.js version to 24

Update Node.js version from 20 to 24 in action.yml

* update and vulnerability fixes

* update node version check

* update licences

* node version check update

* update version for test

* node version

* update node version to 24.0.0 in tool-versions and package-volta.json

* node 24

* update to 24

* update to specify engines

* check failures fix

* update package-lock.json

* licensed update

* check failure fix

* documentation update

---------

Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2 weeks ago
priya-kinthali d7a11313b5
Enhance caching in setup-node with automatic package manager detection (#1348)
* setup node in local

* Enhance caching in setup-node with package manager filed detection

* updated with array

* update the field
4 weeks ago
Marco Ippolito e3ce749e20
feat: support private mirrors (#1240)
* feat: support private mirrors

* chore: change fallback message with mirrors
6 months ago
Peng Xiao 39370e3970
fix: add arch to cached path (#843)
* fix: add arch to cached path

* fix: change from using env to os module

* fix: use process.env.RUNNER_OS instead of os.platform()

* fix: remove unused var
11 months ago
John Wesley Walker III abb238b131
Revise `isGhes` logic (#1148)
* Revise `isGhes` logic

* ran 'npm run format'

* added unit test
11 months ago
aparnajyothi-y 88de2a3d99
Resolve High Security Alerts by upgrading Dependencies (#1132)
* db-alerts-fix

* npm run format

* db-alert-fix

* failure check fix

* check- filaure fix
1 year ago
HarithaVattikuti eff380dfbc
Fix macos latest check failures (#1041)
* Update latest node versions

* Update latest node versions

* Update test data

* Update test data

* Update test data

* Update test data

* Update test data

* macos lts failure fix

* Update macos-13
1 year ago
Dmitry Shibanov 60edb5dd54
Add support for arm64 Windows (#927)
* add support for arm64 Windows

* revert 7z to exe

* add comment

---------

Co-authored-by: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com>
2 years ago
Manta Anantachai S d86ebcd40b
Add support for `volta.extends` (#921)
* Add support for `volta.extends`

* Code review
2 years ago
NullVoxPopuli b39b52d121
Fix node-version-file interprets entire package.json as a version (#865) 2 years ago
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