File tree Expand file tree Collapse file tree 2 files changed +15
-12
lines changed
Expand file tree Collapse file tree 2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 4747 with :
4848 static_site_generator : next
4949
50- - name : Install dependencies
51- run : |
52- cd site && yarn install
53-
5450 - name : Download coverage artifacts
5551 uses : dawidd6/action-download-artifact@v3 # cspell:ignore dawidd6
5652 with :
Original file line number Diff line number Diff line change @@ -20,13 +20,24 @@ jobs:
2020 ruby-version : " .ruby-version"
2121 bundler-cache : true
2222
23+ - name : Setup Node.js (root)
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 20
27+ cache : " yarn"
28+ cache-dependency-path : " yarn.lock"
29+
30+ - name : Setup Node.js (site)
31+ uses : actions/setup-node@v4
32+ with :
33+ node-version : 20
34+ cache : " yarn"
35+ cache-dependency-path : " site/yarn.lock"
36+
2337 - name : Install dependencies
2438 run : |
2539 # Make sure bundler is using the correct Ruby version
2640 ruby -v
27- # yarn dependencies for site
28- yarn install
29- cd site && yarn install && cd ..
3041
3142 - name : Generate CSpell dictionaries from package lockfiles
3243 run : |
@@ -165,17 +176,13 @@ jobs:
165176 ruby-version : " .ruby-version"
166177 bundler-cache : true
167178
168- - name : Setup Node.js
179+ - name : Setup Node.js (site)
169180 uses : actions/setup-node@v4
170181 with :
171182 node-version : 20
172183 cache : " yarn"
173184 cache-dependency-path : " site/yarn.lock"
174185
175- - name : Install dependencies
176- run : |
177- cd site && yarn install
178-
179186 - name : Export TypeScript types
180187 run : |
181188 ruby scripts/export_typescript_types.rb
You can’t perform that action at this time.
0 commit comments