From 9003c187c93751d82ab236696859fa7d2811463b Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Tue, 30 Apr 2024 08:28:53 -0700 Subject: [PATCH] test: test with Node.js v22 (#3999) Now that v22 is out add it and drop v21 testing. https://github.com/nodejs/release#release-schedule --- .ci/tav.json | 2 +- .github/workflows/edge.yml | 5 +++-- .github/workflows/test.yml | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.ci/tav.json b/.ci/tav.json index 98991eb64b..8ffb8edce0 100644 --- a/.ci/tav.json +++ b/.ci/tav.json @@ -1,5 +1,5 @@ { - "versions": [ "21", "20", "18", "16", "14" ], + "versions": [ "22", "20", "18", "16", "14" ], "// modules": [ "List of instrumented modules with the minimum Node major version supported.", "minMajorVersion for each module should be kept in sync with .tav.yml" diff --git a/.github/workflows/edge.yml b/.github/workflows/edge.yml index ff870f3ab6..14c9b4e0bd 100644 --- a/.github/workflows/edge.yml +++ b/.github/workflows/edge.yml @@ -32,7 +32,7 @@ jobs: strategy: fail-fast: false matrix: - node: [ "22" ] + node: [ "23" ] steps: - uses: actions/checkout@v4 - run: .ci/scripts/test.sh -b "nightly" "${{ matrix.node }}" @@ -50,7 +50,8 @@ jobs: fail-fast: false matrix: node: - - "21" + - "23" + - "22" - "20" - "18" steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68ebf8c11f..adcd56b3e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -133,7 +133,7 @@ jobs: - "2181:2181" volumes: - nodezookeeperdata:/var/lib/zookeeper/data - + kafka: image: bitnami/kafka:3.3.2 ports: @@ -154,8 +154,8 @@ jobs: fail-fast: false matrix: node: - - '21' - - '21.0' + - '22' + - '22.0' - '20' - '20.0' - '18'