File tree Expand file tree Collapse file tree 4 files changed +65
-17
lines changed Expand file tree Collapse file tree 4 files changed +65
-17
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,17 @@ jobs:
2222 uses : actions/setup-node@v4
2323 with :
2424 node-version : 22
25- cache : ' yarn'
26- cache-dependency-path : ' yarn.lock'
27- always-auth : ' true'
2825
2926 - name : Enable corepack
3027 run : |
3128 corepack enable
29+ corepack prepare yarn@stable --activate
30+
31+ - name : Activate cache for Node.js
32+ uses : actions/setup-node@v4
33+ with :
34+ cache : yarn
35+ cache-dependency-path : yarn.lock
3236
3337 - name : Build docs
3438 run : |
Original file line number Diff line number Diff line change 1818 uses : actions/setup-node@v4
1919 with :
2020 node-version : 22
21- cache : ' yarn'
22- cache-dependency-path : ' yarn.lock'
21+
22+ - name : Enable corepack
23+ run : |
24+ corepack enable
25+ corepack prepare yarn@stable --activate
26+
27+ - name : Activate cache for Node.js
28+ uses : actions/setup-node@v4
29+ with :
30+ cache : yarn
31+ cache-dependency-path : yarn.lock
2332
2433 - name : Enable corepack
2534 run : |
Original file line number Diff line number Diff line change 2121 uses : actions/setup-node@v4
2222 with :
2323 node-version : 22
24- cache : ' yarn'
25- cache-dependency-path : ' yarn.lock'
24+
25+ - name : Enable corepack
26+ run : |
27+ corepack enable
28+ corepack prepare yarn@stable --activate
29+
30+ - name : Activate cache for Node.js
31+ uses : actions/setup-node@v4
32+ with :
33+ cache : yarn
34+ cache-dependency-path : yarn.lock
2635
2736 - name : Enable corepack
2837 run : |
@@ -49,13 +58,17 @@ jobs:
4958 uses : actions/setup-node@v4
5059 with :
5160 node-version : 22
52- cache : ' yarn'
53- cache-dependency-path : ' yarn.lock'
54- always-auth : ' true'
5561
5662 - name : Enable corepack
5763 run : |
5864 corepack enable
65+ corepack prepare yarn@stable --activate
66+
67+ - name : Activate cache for Node.js
68+ uses : actions/setup-node@v4
69+ with :
70+ cache : yarn
71+ cache-dependency-path : yarn.lock
5972
6073 - name : Setup git user and npm
6174 run : |
Original file line number Diff line number Diff line change 1717 uses : actions/setup-node@v4
1818 with :
1919 node-version : 22
20- cache : ' yarn'
21- cache-dependency-path : ' yarn.lock'
22- always-auth : ' true'
20+
21+ - name : Enable corepack
22+ run : |
23+ corepack enable
24+ corepack prepare yarn@stable --activate
25+
26+ - name : Activate cache for Node.js
27+ uses : actions/setup-node@v4
28+ with :
29+ cache : yarn
30+ cache-dependency-path : yarn.lock
2331
2432 - name : Enable corepack
2533 run : |
@@ -56,12 +64,17 @@ jobs:
5664 uses : actions/setup-node@v4
5765 with :
5866 node-version : 22
59- cache : ' yarn'
60- cache-dependency-path : ' yarn.lock'
6167
6268 - name : Enable corepack
6369 run : |
6470 corepack enable
71+ corepack prepare yarn@stable --activate
72+
73+ - name : Activate cache for Node.js
74+ uses : actions/setup-node@v4
75+ with :
76+ cache : yarn
77+ cache-dependency-path : yarn.lock
6578
6679 - name : Install Dependencies
6780 run : yarn --immutable
@@ -89,8 +102,17 @@ jobs:
89102 uses : actions/setup-node@v4
90103 with :
91104 node-version : 22
92- cache : ' yarn'
93- cache-dependency-path : ' yarn.lock'
105+
106+ - name : Enable corepack
107+ run : |
108+ corepack enable
109+ corepack prepare yarn@stable --activate
110+
111+ - name : Activate cache for Node.js
112+ uses : actions/setup-node@v4
113+ with :
114+ cache : yarn
115+ cache-dependency-path : yarn.lock
94116
95117 - name : Enable corepack
96118 run : |
You can’t perform that action at this time.
0 commit comments