Skip to content

Commit 7ffab24

Browse files
committed
fix: only warn for Node.js versions >= 25.x
The CI test matrix includes Node.js 24.
1 parent 47737e1 commit 7ffab24

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/verify.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
- '22.x'
2626
- '23.x'
2727
- '24.x'
28+
# Maintenance note: Update the semver expression `untestedVersionRange` in src/index.ts when adding new
29+
# Node.js versions to the test matrix.
2830

2931
steps:
3032
- uses: actions/checkout@v4

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ const versionMapping = [
1111
// OpenTelemetry JS SDK 2.x, supports Node.js >= 18.19.0 || >= 20.6.0
1212
['>=18.19.0', './2.x/init'],
1313
];
14-
const untestedVersionRange = '>=24.0.0';
14+
15+
// Maintenance note: This needs to be kept in sync with the version ranges in .github/workflows/verify.yaml, property
16+
// jobs.verify.strategy.matrix.node-version.
17+
const untestedVersionRange = '>=25.0.0';
1518

1619
const prefix = 'Dash0 OpenTelemetry Distribution';
1720

0 commit comments

Comments
 (0)