File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,24 @@ jobs:
17
17
18
18
steps :
19
19
- uses : actions/checkout@v4
20
-
20
+
21
21
- name : Setup kernel for react, increase watchers
22
22
run : echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
23
23
24
+ - name : Set Node.js
25
+ uses : actions/setup-node@v4
26
+ with :
27
+ node-version : 20.x
28
+
29
+ - name : Corepack enable
30
+ run : corepack enable
31
+
32
+ - name : Yarn setup
33
+ run : corepack prepare --activate
34
+
24
35
- name : Get yarn cache directory path
25
36
id : yarn-cache-dir-path
26
- run : echo "::set-output name=dir::$(yarn cache dir )"
37
+ run : echo "::set-output name=dir::$(yarn config get cacheFolder )"
27
38
28
39
- uses : actions/cache@v4
29
40
id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
You can’t perform that action at this time.
0 commit comments