Template
1
0
mirror of https://github.com/actions/setup-node synced 2024-11-30 21:22:29 +08:00
Commit Graph

163 Commits

Author SHA1 Message Date
Jacob Gillespie
0ae03de2b7
Reorder to npm, yarn, pnpm 2021-07-15 20:14:30 +01:00
Maxim Lobanov
4bc87b8e10
Bump e2e tests to 6.10.0 2021-07-15 14:51:41 +03:00
Jacob Gillespie
b96348a4e9
Remove unused imports 2021-07-15 12:46:07 +01:00
Jacob Gillespie
3af302a4f2
Switch to pnpm store path command 2021-07-15 12:43:19 +01:00
Jacob Gillespie
f452812b44
Unmock fs.existsSync after tests 2021-07-15 12:40:08 +01:00
Jacob Gillespie
e93556ca66
Mock fs.existsSync in tests 2021-07-14 20:11:07 +01:00
Jacob Gillespie
0453e516eb
Regenerate compiled files 2021-07-14 15:25:55 +01:00
Jacob Gillespie
399982b368
Move existence check to cache-save 2021-07-14 15:25:45 +01:00
Jacob Gillespie
d278e78bdd
Add logic to check that cache folder exists 2021-07-14 13:06:33 +01:00
Jacob Gillespie
fdbc93ea6e
Add disclaimer to pnpm action example, pin action 2021-07-14 13:03:28 +01:00
Jacob Gillespie
f24e78e0f6
Update __tests__/cache-save.test.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-07-14 13:01:18 +01:00
Jacob Gillespie
162ddf7c40
Add pnpm caching support 2021-06-30 20:17:23 +01:00
Maxim Lobanov
38d90ce44d
Merge pull request #277 from actions/malob/update-readme
Update readme to describe new NVM LTS syntax
2021-06-30 15:20:50 +03:00
Maxim Lobanov
e1e1d4c853
Update README.md
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
2021-06-30 15:12:34 +03:00
Maxim Lobanov
40f85c8c97 update readme 2021-06-30 15:07:45 +03:00
Maxim Lobanov
e215578cb0
Merge pull request #272 from akv-platform/add-caching-for-node-dependencies
Implementation of node's caching
2021-06-30 14:07:42 +03:00
Maxim Lobanov
9af89732f0
Merge pull request #274 from actions/v-mazhuk/automate-releasing-new-versions
Automate releasing new action versions
2021-06-30 14:05:58 +03:00
Dmitry Shibanov
cfe70f9fe8 update dependencies 2021-06-30 13:08:07 +03:00
Dmitry Shibanov
b259ba49fe rebuild project 2021-06-30 11:41:00 +03:00
Dmitry Shibanov
55e10498cf Merge branch 'main' into add-caching-for-node-dependencies 2021-06-30 11:39:23 +03:00
Maxim Lobanov
bcb4cecf9b
Merge pull request #270 from gordey4doronin/gordey/support-lts-syntax
Support LTS aliases
2021-06-30 11:32:30 +03:00
Dmitry Shibanov
72922790cb fix for documentation 2021-06-30 10:39:46 +03:00
Gordey Doronin
48042628a6 Stricter check and cleaner messaging 2021-06-30 09:34:42 +02:00
Gordey Doronin
8624ddbdce Extract common setup logic to hook 2021-06-30 09:27:49 +02:00
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>
2021-06-29 13:34:35 +03:00
MaksimZhukov
87a21fa69e
Automate releasing new action versions 2021-06-29 12:33:36 +03:00
Maxim Lobanov
e79375d669
Merge pull request #266 from actions/malob/cache-adr
Create ADR for integrating cache functionality to setup-node action
2021-06-29 09:50:06 +03:00
Gordey Doronin
57b9c8c424 Don't run verify check on lts syntax 2021-06-25 12:13:33 +02:00
Gordey Doronin
4bef829942 Add e2e test for lts-syntax 2021-06-25 11:56:15 +02:00
Gordey Doronin
9b447f0b81 Fix paths for windows tests 2021-06-25 11:48:41 +02:00
Dmitry Shibanov
d36a3314a5 work on resolving comments 2021-06-25 12:06:49 +03:00
Gordey Doronin
c2dfe2df98 Reuse manifest code 2021-06-22 17:52:06 +02:00
Dmitry Shibanov
f2b87bb2c2 Squashed commit of the following:
commit 446068aff1ec25da69c5b6af6d01dd19b230b4b2
Author: Alena Sviridenko <alenasviridenko@github.com>
Date:   Tue Jun 22 17:51:35 2021 +0300

    updated headers

commit d7e254e6e9534bb627373b7e40400cc45a888815
Author: Alena Sviridenko <alenasviridenko@github.com>
Date:   Thu Jun 17 17:35:34 2021 +0300

    updated links

commit ffd9956eda8c43e846f3305bad21fa064b07280f
Author: AlyonaSviridenko <alenasviridenko@github.com>
Date:   Thu Jun 17 17:33:41 2021 +0300

    Added advanced usage

commit 1e068f031030962d380a1bae32beb806d1c6f818
Author: AlyonaSviridenko <alenasviridenko@github.com>
Date:   Thu Jun 17 15:07:42 2021 +0300

    Updated readme with caching

commit 7528c3399a9c8e0b4e63f7a079e0078af6b92d6a
Author: Maxim Lobanov <v-malob@microsoft.com>
Date:   Wed Jun 16 14:43:46 2021 +0300

    Update versions.yml
2021-06-22 18:32:22 +03:00
Gordey Doronin
d9ce83b637 Formatter 2021-06-22 16:11:44 +02:00
Gordey Doronin
56c3db9dda Cleanup redundant leftover 2021-06-22 15:51:57 +02:00
Gordey Doronin
92722aec8c Logic remastered to not force check-latest 2021-06-22 15:45:25 +02:00
Gordey Doronin
c62861c1e7 Rename 2021-06-22 13:10:16 +02:00
Gordey Doronin
36d2ce149e Switch warning to info logging 2021-06-21 14:33:27 +02:00
Gordey Doronin
bcdcde00c0 Stage dist files 2021-06-21 11:40:55 +02:00
Gordey Doronin
0ec4841e4b Function renaming 2021-06-21 11:39:00 +02:00
Gordey Doronin
e761a7024e Interface extraction 2021-06-21 11:37:50 +02:00
Gordey Doronin
c8c6442c74 Add brief comment about supported formats 2021-06-21 11:37:06 +02:00
Gordey Doronin
fa68745dc0 Test coverage for uknown and malformed aliases 2021-06-17 18:53:38 +02:00
Gordey Doronin
c8889b24a3 Support lts/* alias 2021-06-17 18:34:09 +02:00
Gordey Doronin
88d5bfde31 Support LTS aliases 2021-06-17 17:51:02 +02:00
Dmitry Shibanov
1088324e41 remove workaround 2021-06-17 17:47:24 +03:00
Dmitry Shibanov
05f3e9f4fa remove eol in gitattributes 2021-06-17 17:20:16 +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
Maxim Lobanov
5929471019 Update 0000-caching-dependencies.md 2021-06-02 15:52:17 +03:00
Maxim Lobanov
1bf30534fd
Update docs/adrs/0000-caching-dependencies.md
Co-authored-by: Alejandro Pauly <alepauly@github.com>
2021-05-26 17:29:27 +03:00