From ee3e6af76ee7ae7971ee2994fb81cd48f06a34df Mon Sep 17 00:00:00 2001 From: Ben West Date: Thu, 12 Mar 2026 12:48:28 -0700 Subject: [PATCH] ci: temporarily allow Node 20 for branch protection compliance GitHub deprecated Node 20 on runners (2025-09-19), but branch protection rules still require Node 20 tests to pass. Set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true only for the test job, not publish. Reverts node-version matrix to [20, 22] to match master. Ref: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 530729d9..8eca76c8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,8 +16,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [22, 24] + node-version: [20, 22, 24] mongodb-version: [4.4, 5.0, 6.0] + env: + # Temporary: Allow Node 20 until branch protection rules are updated + # See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: - name: Git Checkout