From 192ebae0ac30ee4c7ec05e4572bef64413b064ed Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Fri, 16 Jan 2026 11:46:29 -0800 Subject: [PATCH] Run article-api tests serially in public repo --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5368a43186a8..8d54067ba557 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -166,4 +166,9 @@ jobs: # Enable debug logging when "Re-run jobs with debug logging" is used in GitHub Actions UI # This will output additional timing and path information to help diagnose timeout issues RUNNER_DEBUG: ${{ runner.debug }} - run: npm test -- src/${{ matrix.name }}/tests/ + run: | + if [ "${{ matrix.name }}" = "article-api" ] && [ "${{ github.repository }}" = "github/docs" ]; then + npm test -- --no-file-parallelism --maxWorkers=1 src/${{ matrix.name }}/tests/ + else + npm test -- src/${{ matrix.name }}/tests/ + fi