Skip to content

Commit 2d115fd

Browse files
authored
test: test Node.js 25 in CI (#6019)
1 parent fe8fd65 commit 2d115fd

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- "20"
2121
- "22"
2222
- "24"
23+
- "25"
2324
runs-on: ubuntu-latest
2425
steps:
2526
- uses: actions/checkout@v5
@@ -44,7 +45,8 @@ jobs:
4445
if: ${{
4546
matrix.node_version == '20' ||
4647
matrix.node_version == '22' ||
47-
matrix.node_version == '24'
48+
matrix.node_version == '24' ||
49+
matrix.node_version == '25'
4850
}}
4951

5052
- name: Bootstrap

.github/workflows/unit-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- "20"
2222
- "22"
2323
- "24"
24+
- "25"
2425
runs-on: ubuntu-latest
2526
steps:
2627
- name: Checkout
@@ -46,7 +47,8 @@ jobs:
4647
if: ${{
4748
matrix.node_version == '20' ||
4849
matrix.node_version == '22' ||
49-
matrix.node_version == '24'
50+
matrix.node_version == '24' ||
51+
matrix.node_version == '25'
5052
}}
5153

5254
- name: Bootstrap
@@ -56,13 +58,13 @@ jobs:
5658
run: npm run compile
5759

5860
- run: npm test
59-
if: ${{ matrix.node_version != '22' && matrix.node_version != '24' }}
61+
if: ${{ matrix.node_version != '22' && matrix.node_version != '24' || matrix.node_version != '25' }}
6062
# Node.js type stripping conflicts with mocha usage of ts-node.
6163
# See https://github.com/open-telemetry/opentelemetry-js/issues/5415
6264
- run: npm test
6365
env:
6466
NODE_OPTIONS: '--no-experimental-strip-types'
65-
if: ${{ matrix.node_version == '22' || matrix.node_version == '24' }}
67+
if: ${{ matrix.node_version == '22' || matrix.node_version == '24' || matrix.node_version == '25' }}
6668

6769
- name: Report Coverage
6870
uses: codecov/codecov-action@v5

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ For notes on migrating to 2.x / 0.200.x see [the upgrade guide](doc/upgrade-to-2
3333
* test(exporter-jaeger): clean up OTEL_EXPORTER_JAEGER_AGENT_PORT between tests [#6003](https://github.com/open-telemetry/opentelemetry-js/pull/6003) @cjihrig
3434
* test(sdk-trace-base): ensure environment variables are cleaned up between tests [#6011](https://github.com/open-telemetry/opentelemetry-js/pull/6011) @cjihrig
3535
* perf(opentelemetry-core): optimize attribute serialization [#5866](https://github.com/open-telemetry/opentelemetry-js/pull/5866) @43081j
36+
* test: test Node.js 25 in CI [#6019](https://github.com/open-telemetry/opentelemetry-js/pull/6019) @cjihrig
3637

3738
## 2.1.0
3839

0 commit comments

Comments
 (0)