From 46f69f7efd8f75d8ed4d7db1808584a8a3cfb48d Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Tue, 25 Apr 2023 23:45:27 +0900 Subject: [PATCH] Update supported Node.js versions Signed-off-by: Andrew Ferrazzutti --- .github/workflows/bindings_ci.yml | 8 ++++---- .github/workflows/documentation.yml | 2 +- .github/workflows/release_crypto_js.yml | 2 +- bindings/matrix-sdk-crypto-nodejs/README.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bindings_ci.yml b/.github/workflows/bindings_ci.yml index f4969ec59..44b82ff15 100644 --- a/.github/workflows/bindings_ci.yml +++ b/.github/workflows/bindings_ci.yml @@ -93,16 +93,16 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - node-version: [14.0, 16.0, 18.0, 19.0] + node-version: [16.0, 18.0, 19.0, 20.0] include: - os: ubuntu-latest os-name: 🐧 - os: macos-latest os-name: 🍏 - node-version: 18.0 + node-version: 20.0 - - node-version: 18.0 + - node-version: 20.0 build-doc: true steps: @@ -174,7 +174,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18.0 + node-version: 20.0 - name: Install NPM dependencies working-directory: ${{ env.MATRIX_SDK_CRYPTO_JS_PATH }} diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b6bad5b95..e85110aa8 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -25,7 +25,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Load cache uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/release_crypto_js.yml b/.github/workflows/release_crypto_js.yml index 25eed08c6..9dc21348a 100644 --- a/.github/workflows/release_crypto_js.yml +++ b/.github/workflows/release_crypto_js.yml @@ -39,7 +39,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18.0 + node-version: 20.0 - name: Install NPM dependencies working-directory: ${{ env.PKG_PATH }} diff --git a/bindings/matrix-sdk-crypto-nodejs/README.md b/bindings/matrix-sdk-crypto-nodejs/README.md index 7e7b80ff1..b8fca601e 100644 --- a/bindings/matrix-sdk-crypto-nodejs/README.md +++ b/bindings/matrix-sdk-crypto-nodejs/README.md @@ -96,8 +96,8 @@ according to [the Node.js Releases Page](https://nodejs.org/en/about/releases/), _and_ which are compatible with [NAPI v6 (Node.js API)](https://nodejs.org/api/n-api.html#node-api-version-matrix). It -means that this binding will work with the following versions: 14.0.0, -16.0.0 and 18.0.0. +means that this binding will work with the following versions: 16.0.0, +18.0.0, 19.0.0 and 20.0.0. Once the Rust compiler, Node.js and npm are installed, you can run the following commands: