From f433315ba64afdf1a261afccaf0d71714350f286 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 13 Jul 2026 14:17:46 +0000 Subject: [PATCH] build(workflows): remove orphaned matrix `include` entries in nightly install tests The jobs `test_install` (`linux_test_install`) and `test_npm_install` (`macos_test_npm_install`) have failed on every scheduled run on develop for the past month with: Error when evaluating 'runs-on' for job 'test_install'. Unexpected value '' Root cause: both workflows trim `strategy.matrix.NODE_VERSION` to `['20', '18', '16']`, but `strategy.matrix.include` still listed entries for older, no-longer-present versions ('14', '12', '10', '8', '6', '4', '0.12', '0.10'). Per GitHub Actions matrix semantics, an `include` entry whose specified keys match no existing base combination is added as an entirely new combination containing only the keys given in that entry - leaving `OS` (and thus `runs-on: ${{ matrix.OS }}`) undefined, which GitHub Actions rejects at evaluation time before any job runs. This commit removes the orphaned `include` entries so every remaining entry matches an existing NODE_VERSION/OS combination, restoring a defined `matrix.OS` for all generated jobs. Ref: https://github.com/stdlib-js/stdlib/actions/runs/29241867217 Ref: https://github.com/stdlib-js/stdlib/actions/runs/29241447715 --- .github/workflows/linux_test_install.yml | 30 -------------------- .github/workflows/macos_test_npm_install.yml | 24 ---------------- 2 files changed, 54 deletions(-) diff --git a/.github/workflows/linux_test_install.yml b/.github/workflows/linux_test_install.yml index 0992374d900c..75290649419a 100644 --- a/.github/workflows/linux_test_install.yml +++ b/.github/workflows/linux_test_install.yml @@ -111,36 +111,6 @@ jobs: NPM_VERSION: '>2.7.0 <10.0.0' PNPM_VERSION: '6' - - NODE_VERSION: '14' - NPM_VERSION: '>2.7.0 <10.0.0' - PNPM_VERSION: '6' - - - NODE_VERSION: '12' - NPM_VERSION: '>2.7.0 <9.0.0' - PNPM_VERSION: '6' - - - NODE_VERSION: '10' - NPM_VERSION: '>2.7.0 <7.0.0' - PNPM_VERSION: '5' - - - NODE_VERSION: '8' - NPM_VERSION: '>2.7.0 <6.0.0' - PNPM_VERSION: '3' - - - NODE_VERSION: '6' - NPM_VERSION: '>2.7.0 <6.0.0' - PNPM_VERSION: '2' - - - NODE_VERSION: '4' - NPM_VERSION: '>2.7.0 <6.0.0' - PNPM_VERSION: '1' - - - NODE_VERSION: '0.12' - NPM_VERSION: '>2.7.0 <4.0.0' - - - NODE_VERSION: '0.10' - NPM_VERSION: '>2.7.0 <4.0.0' - # Exclude certain matrix combinations: exclude: - NODE_VERSION: '0.12' diff --git a/.github/workflows/macos_test_npm_install.yml b/.github/workflows/macos_test_npm_install.yml index b8d91a63598a..a3646ece0126 100644 --- a/.github/workflows/macos_test_npm_install.yml +++ b/.github/workflows/macos_test_npm_install.yml @@ -103,30 +103,6 @@ jobs: - NODE_VERSION: '16' NPM_VERSION: '>2.7.0 <10.0.0' - - NODE_VERSION: '14' - NPM_VERSION: '>2.7.0 <10.0.0' - - - NODE_VERSION: '12' - NPM_VERSION: '>2.7.0 <9.0.0' - - - NODE_VERSION: '10' - NPM_VERSION: '>2.7.0 <7.0.0' - - - NODE_VERSION: '8' - NPM_VERSION: '>2.7.0 <6.0.0' - - - NODE_VERSION: '6' - NPM_VERSION: '>2.7.0 <6.0.0' - - - NODE_VERSION: '4' - NPM_VERSION: '>2.7.0 <6.0.0' - - - NODE_VERSION: '0.12' - NPM_VERSION: '>2.7.0 <4.0.0' - - - NODE_VERSION: '0.10' - NPM_VERSION: '>2.7.0 <4.0.0' - # Set defaults: defaults: run: