@@ -61,14 +61,19 @@ jobs:
61
61
run : yarn install --colors=always
62
62
- name : Build jar
63
63
# unset ANDROID_HOME to prevent bazel from trying to use the Android SDK
64
- run : unset ANDROID_HOME && ./build-scripts/build_compiler .js
64
+ run : unset ANDROID_HOME && ./build-scripts/build-compiler .js
65
65
- name : Tests
66
- run : node_modules/.bin/mocha --colors
66
+ run : yarn test:root --color
67
67
- name : Upload contrib folder
68
68
uses : actions/upload-artifact@v4
69
69
with :
70
70
name : Contrib folder
71
71
path : compiler/contrib
72
+ - name : Upload externs folder
73
+ uses : actions/upload-artifact@v4
74
+ with :
75
+ name : Externs folder
76
+ path : compiler/externs
72
77
- name : Upload compiler jar
73
78
uses : actions/upload-artifact@v4
74
79
with :
@@ -120,6 +125,11 @@ jobs:
120
125
with :
121
126
name : Contrib folder
122
127
path : packages/google-closure-compiler/contrib
128
+ - name : Download externs folder
129
+ uses : actions/download-artifact@v4
130
+ with :
131
+ name : Externs folder
132
+ path : packages/google-closure-compiler/externs
123
133
- name : Get yarn cache directory path
124
134
run : echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
125
135
- name : Cache yarn
@@ -139,7 +149,7 @@ jobs:
139
149
yarn run build
140
150
upx compiler
141
151
- name : Tests
142
- run : yarn workspaces run test --colors
152
+ run : yarn workspaces run test --color
143
153
- name : Upload artifacts
144
154
uses : actions/upload-artifact@v4
145
155
with :
@@ -191,6 +201,11 @@ jobs:
191
201
with :
192
202
name : Contrib folder
193
203
path : packages/google-closure-compiler/contrib
204
+ - name : Download externs folder
205
+ uses : actions/download-artifact@v4
206
+ with :
207
+ name : Externs folder
208
+ path : packages/google-closure-compiler/externs
194
209
- name : Get yarn cache directory path
195
210
run : echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
196
211
- name : Cache yarn
@@ -210,7 +225,7 @@ jobs:
210
225
yarn run build
211
226
upx compiler
212
227
- name : Tests
213
- run : yarn workspaces run test --colors
228
+ run : yarn workspaces run test --color
214
229
- name : Upload artifacts
215
230
uses : actions/upload-artifact@v4
216
231
with :
@@ -257,6 +272,11 @@ jobs:
257
272
with :
258
273
name : Contrib folder
259
274
path : packages/google-closure-compiler/contrib
275
+ - name : Download externs folder
276
+ uses : actions/download-artifact@v4
277
+ with :
278
+ name : Externs folder
279
+ path : packages/google-closure-compiler/externs
260
280
- name : Get yarn cache directory path
261
281
run : echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
262
282
- name : Cache yarn
@@ -276,7 +296,7 @@ jobs:
276
296
yarn run build
277
297
# upx compiler
278
298
- name : Tests
279
- run : yarn workspaces run test --colors
299
+ run : yarn workspaces run test --color
280
300
- name : Upload artifacts
281
301
uses : actions/upload-artifact@v4
282
302
with :
@@ -320,6 +340,11 @@ jobs:
320
340
with :
321
341
name : Contrib folder
322
342
path : packages/google-closure-compiler/contrib
343
+ - name : Download externs folder
344
+ uses : actions/download-artifact@v4
345
+ with :
346
+ name : Externs folder
347
+ path : packages/google-closure-compiler/externs
323
348
- name : Get yarn cache directory path
324
349
# See https://stackoverflow.com/a/66737579/1211524
325
350
run : echo "yarn_cache_dir=$(yarn cache dir)" >> $env:GITHUB_ENV
@@ -342,7 +367,7 @@ jobs:
342
367
shell : cmd
343
368
run : |
344
369
echo "Running Tests"
345
- yarn workspaces run test --colors
370
+ yarn workspaces run test --color
346
371
- name : Upload artifacts
347
372
uses : actions/upload-artifact@v4
348
373
with :
@@ -401,6 +426,11 @@ jobs:
401
426
with :
402
427
name : Contrib folder
403
428
path : packages/google-closure-compiler/contrib
429
+ - name : Download externs folder
430
+ uses : actions/download-artifact@v4
431
+ with :
432
+ name : Externs folder
433
+ path : packages/google-closure-compiler/externs
404
434
- name : Mark binaries executable
405
435
run : |
406
436
chmod 755 packages/google-closure-compiler-linux/compiler
0 commit comments