From 6ff040501b2e811a597402245cb79683ca06618b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 16 Nov 2025 07:50:06 +0100 Subject: [PATCH] Tests occasionally timeout on macOS 26 Also, add Node.js 25.2.0 and DRY the CI strategy so it can be configured once and reused. * https://github.blog/changelog/2025-09-18-actions-yaml-anchors-and-non-public-workflow-templates --- .github/workflows/ci.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 963d21721..5c9ea17ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,9 +11,10 @@ jobs: Linux: name: Test on Linux runs-on: ubuntu-latest - strategy: + strategy: &job_strategy # Define a YAML anchor on first use + fail-fast: false matrix: - node: [18.20.5, 20.18.1, 22.12.0, 23.3.0, 24.2.0] + node: [18.20.5, 20.18.1, 22.12.0, 23.3.0, 24.2.0, 25.2.0] steps: - uses: actions/setup-node@v4 with: @@ -31,9 +32,7 @@ jobs: Windows: name: Test on Windows runs-on: windows-2025 - strategy: - matrix: - node: [18.20.5, 20.18.1, 22.12.0, 23.3.0, 24.2.0] + strategy: *job_strategy # Reuse the YAML anchor defined above steps: - uses: actions/setup-node@v4 with: @@ -55,10 +54,8 @@ jobs: macOS: name: Test on macOS - runs-on: macos-15 - strategy: - matrix: - node: [18.20.5, 20.18.1, 22.12.0, 23.3.0, 24.2.0] + runs-on: macos-26 + strategy: *job_strategy # Reuse the YAML anchor defined above steps: - uses: actions/setup-node@v4 with: