mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
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>
This commit is contained in:
@@ -16,8 +16,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [22, 24]
|
node-version: [20, 22, 24]
|
||||||
mongodb-version: [4.4, 5.0, 6.0]
|
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:
|
steps:
|
||||||
- name: Git Checkout
|
- name: Git Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user