Skip to content

Commit 2e941d3

Browse files
lotemfrankslin
authored andcommitted
nodejs workflow: test latest and LTS versions (#999)
avoid the latest node_version × macos-14 combination which eventually becomes unsupported.
1 parent 19cab92 commit 2e941d3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [20.x, 22.x, latest]
16-
os: [ubuntu-latest, macos-latest, macos-14]
17-
15+
# Bleeding Edge: Latest Node × Latest OS
16+
os: [ubuntu-latest, macos-latest]
17+
node-version: [latest]
18+
# Stable: Node 20, 22 (LTS) on macOS 14 (ARM64)
19+
include:
20+
- os: macos-14
21+
node-version: 22
22+
- os: macos-14
23+
node-version: 20
1824
steps:
1925
- uses: actions/checkout@v4
2026
- name: Use Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)