File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,9 @@ jobs:
159
159
with :
160
160
node-version : 20
161
161
cache : ' yarn'
162
- cache-dependency-path : demo/yarn.lock
162
+ cache-dependency-path : |
163
+ yarn.lock
164
+ demo/yarn.lock
163
165
164
166
- name : Restore the deps and _build cache
165
167
uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
@@ -175,6 +177,13 @@ jobs:
175
177
key : ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-build-deps-demo-mixlockhash-${{ env.MIX_LOCK_HASH }}
176
178
restore-keys : ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-build-deps-demo-
177
179
180
+ - name : Install node dependencies
181
+ run : yarn install --pure-lockfile
182
+
183
+ - name : Install demo node dependencies
184
+ working-directory : demo
185
+ run : yarn install --pure-lockfile
186
+
178
187
- name : Build JavaScript
179
188
run : yarn run build
180
189
@@ -192,10 +201,6 @@ jobs:
192
201
working-directory : demo
193
202
run : mix compile --warnings-as-errors --force
194
203
195
- - name : Install node dependencies
196
- working-directory : demo
197
- run : yarn install --pure-lockfile
198
-
199
204
- name : lint:mix
200
205
working-directory : demo
201
206
run : yarn lint:mix
You can’t perform that action at this time.
0 commit comments