Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit 6cd7b1f

Browse files
Update workspaces run test command for yarn 4
1 parent 8dd1515 commit 6cd7b1f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
cp ../google-closure-compiler-java/compiler.jar compiler.jar
130130
yarn run build
131131
- name: Tests
132-
run: YARN_ENABLE_COLORS=true yarn workspaces run test
132+
run: FORCE_COLOR=1 yarn workspaces foreach -A --no-private run test
133133
- name: Upload artifacts
134134
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
135135
with:
@@ -191,7 +191,7 @@ jobs:
191191
cp ../google-closure-compiler-java/compiler.jar compiler.jar
192192
yarn run build
193193
- name: Tests
194-
run: YARN_ENABLE_COLORS=true yarn workspaces run test
194+
run: FORCE_COLOR=1 yarn workspaces foreach -A --no-private run test
195195
- name: Upload artifacts
196196
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
197197
with:
@@ -251,7 +251,7 @@ jobs:
251251
cp ../google-closure-compiler-java/compiler.jar compiler.jar
252252
yarn run build
253253
- name: Tests
254-
run: YARN_ENABLE_COLORS=true yarn workspaces run test
254+
run: FORCE_COLOR=1 yarn workspaces foreach -A --no-private run test
255255
- name: Upload artifacts
256256
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
257257
with:
@@ -312,9 +312,7 @@ jobs:
312312
yarn run build
313313
- name: Tests
314314
shell: cmd
315-
run: |
316-
echo "Running Tests"
317-
YARN_ENABLE_COLORS=true yarn workspaces run test
315+
run: FORCE_COLOR=1 yarn workspaces foreach -A --no-private run test
318316
- name: Upload artifacts
319317
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
320318
with:

0 commit comments

Comments
 (0)