@@ -61,14 +61,19 @@ jobs:
6161 run : yarn install --colors=always
6262 - name : Build jar
6363 # 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
6565 - name : Tests
66- run : node_modules/.bin/mocha --colors
66+ run : yarn test:root --color
6767 - name : Upload contrib folder
6868 uses : actions/upload-artifact@v4
6969 with :
7070 name : Contrib folder
7171 path : compiler/contrib
72+ - name : Upload externs folder
73+ uses : actions/upload-artifact@v4
74+ with :
75+ name : Externs folder
76+ path : compiler/externs
7277 - name : Upload compiler jar
7378 uses : actions/upload-artifact@v4
7479 with :
@@ -120,6 +125,11 @@ jobs:
120125 with :
121126 name : Contrib folder
122127 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
123133 - name : Get yarn cache directory path
124134 run : echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
125135 - name : Cache yarn
@@ -139,7 +149,7 @@ jobs:
139149 yarn run build
140150 upx compiler
141151 - name : Tests
142- run : yarn workspaces run test --colors
152+ run : yarn workspaces run test --color
143153 - name : Upload artifacts
144154 uses : actions/upload-artifact@v4
145155 with :
@@ -191,6 +201,11 @@ jobs:
191201 with :
192202 name : Contrib folder
193203 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
194209 - name : Get yarn cache directory path
195210 run : echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
196211 - name : Cache yarn
@@ -210,7 +225,7 @@ jobs:
210225 yarn run build
211226 upx compiler
212227 - name : Tests
213- run : yarn workspaces run test --colors
228+ run : yarn workspaces run test --color
214229 - name : Upload artifacts
215230 uses : actions/upload-artifact@v4
216231 with :
@@ -257,6 +272,11 @@ jobs:
257272 with :
258273 name : Contrib folder
259274 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
260280 - name : Get yarn cache directory path
261281 run : echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
262282 - name : Cache yarn
@@ -276,7 +296,7 @@ jobs:
276296 yarn run build
277297# upx compiler
278298 - name : Tests
279- run : yarn workspaces run test --colors
299+ run : yarn workspaces run test --color
280300 - name : Upload artifacts
281301 uses : actions/upload-artifact@v4
282302 with :
@@ -320,6 +340,11 @@ jobs:
320340 with :
321341 name : Contrib folder
322342 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
323348 - name : Get yarn cache directory path
324349 # See https://stackoverflow.com/a/66737579/1211524
325350 run : echo "yarn_cache_dir=$(yarn cache dir)" >> $env:GITHUB_ENV
@@ -342,7 +367,7 @@ jobs:
342367 shell : cmd
343368 run : |
344369 echo "Running Tests"
345- yarn workspaces run test --colors
370+ yarn workspaces run test --color
346371 - name : Upload artifacts
347372 uses : actions/upload-artifact@v4
348373 with :
@@ -401,6 +426,11 @@ jobs:
401426 with :
402427 name : Contrib folder
403428 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
404434 - name : Mark binaries executable
405435 run : |
406436 chmod 755 packages/google-closure-compiler-linux/compiler
0 commit comments