Commit Graph

30 Commits (Node-Test-app)

Author SHA1 Message Date
Róbert Papp 7247617371
Add `package.json` to `node-version-file` list of examples. (#879) 2023-12-13 13:02:47 +01:00
Dmitry Shibanov 54534a2a9b
Change node version for action to node20 (#866) 2023-10-23 15:20:20 +02:00
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
2023-06-21 17:52:17 +02:00
Dmitry Shibanov 00e1b6691b
Pass the token input through on GHES (#595) 2022-11-02 12:24:44 +01: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 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
Hideki Igarashi dbb64ac1d1 Add support for asdf format as Node.js version file 2022-05-30 20:13:04 +09:00
Philipp Bammes 86bf502a33
extend documentation on `scope` parameter (#470)
This also ends all descriptions with a full stop (`.`).
2022-04-19 13:43:19 -04:00
Dmitry Shibanov 9ced9a43a2
remove version input (#424) 2022-02-24 16:31:57 +03:00
Thomas Boop 28df918a56
Update default runtime to node16 (#414) 2022-02-22 11:28:24 +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
Maxim Lobanov 76a4cff9ae update readme and dist files 2021-08-05 12:00:47 +00:00
MaksimZhukov 9f31dbbbc4 Support caching for mono repos and repositories with complex structure 2021-08-02 20:44:59 +03:00
Jacob Gillespie 0ae03de2b7
Reorder to npm, yarn, pnpm 2021-07-15 20:14:30 +01:00
Jacob Gillespie 162ddf7c40
Add pnpm caching support 2021-06-30 20:17:23 +01:00
Dmitry Shibanov d36a3314a5 work on resolving comments 2021-06-25 12:06:49 +03:00
Dmitry Shibanov 3d0d4edb10
Add node's caching implementation (#2)
* first iteration for implementation of caching

* add logs

* add debug line

* fix build command

* fix path

* add possible post-if

* remove braces

* test new action post-if variant

* work on built-in caching

* remove post-if

* pass version

* work on yarn support

* fix return value

* change names and remove logs

* worked on resolving comments

* check post-if for null

* add success() condition

* remove primary key field

* work on resolving comments

* remove logs

* resolving comments

* resolving comments

* resolving comments

* resolving comments

* fix getpackageManagerVersion

* run clean for unstaged changes

* fix falling version tests

* work on resolving comments

* resolving comments

* fix comment

* resolve comments

* Add tests to cover node's caching (#3)

* add tests to cover node's caching

* work on fixing tests

* fix e2e tests

* rebuild and fix test

* fixing tests

* change name of describes, it and fix test

* add names for jobs

* fix issue
2021-06-16 09:52:44 +03:00
Amin Yahyaabadi 5984462aaa Rename node-arch to architecture 2020-12-08 16:24:02 -06:00
Amin Yahyaabadi 2d8887128d feat: node-arch in action.yml
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Maxim Lobanov 1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one (#165) 2020-06-29 14:56:37 -04:00
Bryan MacFarlane e434342e4e
download from node-versions and fallback to node dist (#147)
* download LTS versions from releases

* support upcoiming ghes 

Co-authored-by: eric sciple <ericsciple@users.noreply.github.com>
2020-05-19 09:25:54 -04:00
Charlie Fish 0cc027b656
Changing node-version default to be latest LTS (12.x) 2020-04-20 17:36:56 -06:00
eric sciple d123f10543
follow proxy settings (#105) 2020-01-27 10:37:12 -05:00
Danny McCormick c35dd24c52
Deprecate version property (#54) 2019-09-12 10:30:15 -04:00
David J. Felix 7a3ce83626 Add setting for always-auth (#48)
* Add setting for always-auth

- https://docs.npmjs.com/misc/config#always-auth
- Allow private repos for stuff like artifactory to work

* Fix tests for always-auth
2019-09-03 10:57:45 -04:00
Danny McCormick dd2e8a486f
Use node-version instead of version (#28)
* Use node-version instead of version

* Add deprecation date
2019-08-13 16:32:09 -04:00
Danny McCormick 27212a1fbb
Update action name 2019-08-12 14:39:33 -04:00
Danny McCormick 78148dae50
Add auth support (#21)
* Updates

* Update

* Update

* Update

* Update

* Yarn sometimes prefers npmrc, so use same token

* Description

* Update readme

* Feedback

* Add type

* new toolkit and scoped registries

* npmrc in RUNNER_TEMP

* Dont always auth

* Try exporting blank token

* Get auth working for now pending runner changes

* Fix string interpolation for auth token.

* Don't export both userconfigs

* Update authutil.js

* Add single quotes for authString

* Fix the registry string.

* Use userconfig and append trailing slash

* Keep in root of repo

* Try just adding auth token

* Remove auth token

* Try changes again

* Add tests

* Npm and GPR samples

* Add types
2019-08-06 18:26:04 -04:00
Chris Patterson 9bb7038a07 Initial Import 2019-08-03 21:49:54 -04:00