Skip to content

Commit 1ffff4b

Browse files
committed
chore(ci): serialize Windows package tests
1 parent 4b671d5 commit 1ffff4b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,10 @@ jobs:
6969
run: git diff --exit-code -- packages/rstack/binding.cjs packages/rstack/binding.d.cts
7070

7171
- name: Run Test
72-
if: steps.changes.outputs.changed == 'true'
72+
if: steps.changes.outputs.changed == 'true' && runner.os != 'Windows'
7373
run: node --run test
74+
75+
# Run package tests serially on Windows to avoid resource contention between nested test workers.
76+
- name: Run Test (Windows)
77+
if: steps.changes.outputs.changed == 'true' && runner.os == 'Windows'
78+
run: pnpm --workspace-concurrency=1 --filter "./packages/**" test

0 commit comments

Comments
 (0)