From 6c3d812c43a8402011f24f3bff0126d75f264ffb Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 10 Jun 2026 14:19:45 +0000 Subject: [PATCH] build(workflows): remove Node.js v12 and v14 from `macos_test` matrix The `macos_test` workflow runs on `macOS-latest`, which GitHub Actions now resolves to Apple Silicon (arm64) runners. Node.js v12 and v14 predate Apple Silicon and ship no arm64/darwin binaries. Each nightly run has been failing since the runner image migrated, with `actions/setup-node` reporting: Unable to find Node version '14' for platform darwin and architecture arm64. Remove v12 and v14 from the NODE_VERSION matrix and comment out their corresponding `include` entries. Node.js v16 ships arm64/darwin binaries (since April 2021) and continues to run. The same versions remain in `linux_test.yml` (ubuntu-latest, x64), so v12/v14 code-path coverage is preserved on Linux. Ref: https://github.com/stdlib-js/stdlib/actions/runs/27270019032 https://claude.ai/code/session_018jNV8eGma6x4JAeTUBJjHm --- .github/workflows/macos_test.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos_test.yml b/.github/workflows/macos_test.yml index 484198ad035f..01fa120d910e 100644 --- a/.github/workflows/macos_test.yml +++ b/.github/workflows/macos_test.yml @@ -86,7 +86,9 @@ jobs: # Define the list of Node.js versions: # NODE_VERSION: ['16', '14', '12', '10', '8', '6', '4', '0.12', '0.10'] - NODE_VERSION: ['16', '14', '12'] + # Note: v12 and v14 are excluded because macOS-latest runners use Apple Silicon (arm64) + # and neither Node.js v12 nor v14 ship arm64/darwin binaries. + NODE_VERSION: ['16'] # Define the list of operating systems: OS: ['macOS-latest'] @@ -99,11 +101,11 @@ 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: '14' + # NPM_VERSION: '>2.7.0 <10.0.0' - - NODE_VERSION: '12' - NPM_VERSION: '>2.7.0 <9.0.0' + # - NODE_VERSION: '12' + # NPM_VERSION: '>2.7.0 <9.0.0' # - NODE_VERSION: '10' # NPM_VERSION: '>2.7.0 <7.0.0'