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
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
3 years ago
Hargun Kaur
d08cf22211
Adding Node.js version file support ( #338 )
3 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
Gordey Doronin
8624ddbdce
Extract common setup logic to hook
4 years ago
Maxim Lobanov
282049a5b1
regenerate license ( #7 )
...
* regenerate license
* npm run build
* sync branches
* rebuild project
* fix test
Co-authored-by: Dmitry Shibanov <dmitry-shibanov@github.com>
4 years ago
Gordey Doronin
9b447f0b81
Fix paths for windows tests
4 years ago
Dmitry Shibanov
d36a3314a5
work on resolving comments
4 years ago
Gordey Doronin
c2dfe2df98
Reuse manifest code
4 years ago
Gordey Doronin
d9ce83b637
Formatter
4 years ago
Gordey Doronin
56c3db9dda
Cleanup redundant leftover
4 years ago
Gordey Doronin
92722aec8c
Logic remastered to not force check-latest
4 years ago
Gordey Doronin
36d2ce149e
Switch warning to info logging
4 years ago
Gordey Doronin
fa68745dc0
Test coverage for uknown and malformed aliases
4 years ago
Gordey Doronin
c8889b24a3
Support lts/* alias
4 years ago
Gordey Doronin
88d5bfde31
Support LTS aliases
4 years ago
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
4 years ago
Guangcong Luo
46071b5c7a
Fix TypeScript error line/column ( #125 )
...
* Fix TypeScript error line/column
* Adopt official pattern from VS Code
* Minor cleanup
* Add tests for tsc problem matcher
Co-authored-by: Lukas Spieß <lumaxis@github.com>
4 years ago
Andres Vargas
d8c1b596a6
Merge branch 'main' of github.com:actions/setup-node into main
4 years ago
Amin Yahyaabadi
05e7d6cc23
Add e2e arch test
4 years ago
Amin Yahyaabadi
5984462aaa
Rename node-arch to architecture
4 years ago
Amin Yahyaabadi
aabe026707
Merge remote-tracking branch 'upstream/main' into arch
4 years ago
Andres Vargas
f4215cc0e0
fix format
5 years ago
Andres Vargas
5da2d61209
remove space
5 years ago
Andres Vargas
a600caf7cc
remove debug
5 years ago
Andres Vargas
8dde5bc004
adding test for NODE_AUTH_TOKEN overwritten
5 years ago
Thomas Boop
c6fd00ceb9
Swap to env files ( #200 )
...
* Swap to env files
* revert to old method for tests
* disable executing of commands during tests
* bump package.json @actions/core version
5 years ago
Amin Yahyaabadi
a83bf51129
test: test using main.run and spying
5 years ago
Amin Yahyaabadi
922f2f9468
test: revert using nock and fixtures
5 years ago
Amin Yahyaabadi
7a3669aa8a
test: add arch tests
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
feat: add nock
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
5 years ago
Amin Yahyaabadi
c7e4d38541
feat: add arch to downloading message
5 years ago
Maxim Lobanov
1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one ( #165 )
5 years ago
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>
5 years ago
eric sciple
83c9f7a7df
Update tool-cache for download retries ( #120 )
5 years ago
eric sciple
1c5c1375b3
consume getJson function for better error messages ( #110 )
5 years ago
eric sciple
d123f10543
follow proxy settings ( #105 )
5 years ago