diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 69d271f5a6..161ab2aa91 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -20,6 +20,7 @@ jobs: - "20" - "22" - "24" + - "25" runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 @@ -44,7 +45,8 @@ jobs: if: ${{ matrix.node_version == '20' || matrix.node_version == '22' || - matrix.node_version == '24' + matrix.node_version == '24' || + matrix.node_version == '25' }} - name: Bootstrap diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 02fd66e5a8..c2d4d15476 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -21,6 +21,7 @@ jobs: - "20" - "22" - "24" + - "25" runs-on: ubuntu-latest steps: - name: Checkout @@ -46,7 +47,8 @@ jobs: if: ${{ matrix.node_version == '20' || matrix.node_version == '22' || - matrix.node_version == '24' + matrix.node_version == '24' || + matrix.node_version == '25' }} - name: Bootstrap @@ -56,13 +58,13 @@ jobs: run: npm run compile - run: npm test - if: ${{ matrix.node_version != '22' && matrix.node_version != '24' }} + if: ${{ matrix.node_version != '22' && matrix.node_version != '24' || matrix.node_version != '25' }} # Node.js type stripping conflicts with mocha usage of ts-node. # See https://github.com/open-telemetry/opentelemetry-js/issues/5415 - run: npm test env: NODE_OPTIONS: '--no-experimental-strip-types' - if: ${{ matrix.node_version == '22' || matrix.node_version == '24' }} + if: ${{ matrix.node_version == '22' || matrix.node_version == '24' || matrix.node_version == '25' }} - name: Report Coverage uses: codecov/codecov-action@v5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 54dd67ec33..1bc347b47d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ For notes on migrating to 2.x / 0.200.x see [the upgrade guide](doc/upgrade-to-2 * test(exporter-jaeger): clean up OTEL_EXPORTER_JAEGER_AGENT_PORT between tests [#6003](https://github.com/open-telemetry/opentelemetry-js/pull/6003) @cjihrig * test(sdk-trace-base): ensure environment variables are cleaned up between tests [#6011](https://github.com/open-telemetry/opentelemetry-js/pull/6011) @cjihrig * perf(opentelemetry-core): optimize attribute serialization [#5866](https://github.com/open-telemetry/opentelemetry-js/pull/5866) @43081j +* test: test Node.js 25 in CI [#6019](https://github.com/open-telemetry/opentelemetry-js/pull/6019) @cjihrig ## 2.1.0