diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c60f513..516d36f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: matrix: # We test against different OSes, because the build toolchain has OS-specific dependencies. os: ["ubuntu-latest", "windows-latest", "macos-latest"] - node-version: ["20.x", "18.x"] + node-version: ["22.x", "20.x", "18.x"] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -30,7 +30,7 @@ jobs: - run: npm run test # Upload coverage for sonarcube (only matching OS and one node version required) - uses: actions/upload-artifact@v4 - if: ${{ matrix.node-version == '20.x' }} + if: ${{ matrix.node-version == '22.x' }} with: name: code-coverage-${{ matrix.os }}-${{matrix.node-version}} path: coverage/ @@ -47,7 +47,7 @@ jobs: fetch-depth: 0 - uses: actions/download-artifact@v4 with: - name: code-coverage-ubuntu-latest-20.x + name: code-coverage-ubuntu-latest-22.x path: coverage/ - uses: SonarSource/sonarcloud-github-action@v2 env: diff --git a/.github/workflows/e2e-node.yml b/.github/workflows/e2e-node.yml index bb7352b..40138a6 100644 --- a/.github/workflows/e2e-node.yml +++ b/.github/workflows/e2e-node.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: ["20.x", "18.x"] + node-version: ["22.x", "20.x", "18.x"] # PodSpaces doesn't support error descriptions yet. environment-name: ["ESS Dev-2-3"] experimental: [false] diff --git a/.nvmrc b/.nvmrc index 209e3ef..2bd5a0a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/README.md b/README.md index 348b042..8d4b31c 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ and `String.prototype.endsWith`. ## Node.js Support Our JavaScript Client Libraries track Node.js [LTS -releases](https://nodejs.org/en/about/releases/), and support 18.x and 20.x. +releases](https://nodejs.org/en/about/releases/), and support 18.x, 20.x, and 22.x. # Installation diff --git a/package-lock.json b/package-lock.json index 7e74094..2926030 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "typescript": "^5.5.4" }, "engines": { - "node": "^18.0.0 || ^20.0.0" + "node": "^18.0.0 || ^20.0.0 || ^22.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index d17477e..34c025d 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,6 @@ "typescript": "^5.5.4" }, "engines": { - "node": "^18.0.0 || ^20.0.0" + "node": "^18.0.0 || ^20.0.0 || ^22.0.0" } }