Skip to content

Commit 695de03

Browse files
authored
ci: test on macOS and Node 24 (#6096)
1 parent 77fed31 commit 695de03

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,26 @@ concurrency:
1414

1515
jobs:
1616
test:
17-
name: Test (Node ${{ matrix.node-version }})
18-
runs-on: ubuntu-latest
17+
name: Test (${{ matrix.os }}, Node ${{ matrix.node-version }})
18+
runs-on: ${{ matrix.os }}
1919

2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
node-version: [ '20.x', '22.x' ]
23+
os: [ ubuntu-latest ]
24+
node-version: [ '20.x', '22.x', '24.x' ]
25+
include:
26+
# A darwin leg is what covers the iOS-specific suites - they are gated
27+
# on the platform and never execute anywhere else. One version is
28+
# enough for that; 24 is the active LTS.
29+
- os: macos-latest
30+
node-version: '24.x'
2431

2532
steps:
2633

2734
- name: Harden the runner (Audit all outbound calls)
35+
# only supported on the Ubuntu runners
36+
if: runner.os == 'Linux'
2837
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
2938
with:
3039
egress-policy: audit

0 commit comments

Comments
 (0)