From 3fd4c0c3f995f27a7e15fafd82219820f37ac8ff Mon Sep 17 00:00:00 2001 From: Dave Kelsey Date: Fri, 15 Nov 2024 15:29:05 +0000 Subject: [PATCH] Add support for Node 22 LTS (#1650) Signed-off-by: Dave Kelsey Co-authored-by: Dave Kelsey --- .github/workflows/integration-tests.yml | 2 +- .github/workflows/unit-tests.yml | 2 +- docs/source/getting-started/installing-caliper.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ad0ce6b90..98270ebaa 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -60,7 +60,7 @@ jobs: fail-fast: false matrix: adaptor: ${{ fromJSON(needs.changes.outputs.adaptor) }} - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 95524c66a..cf11d8bfe 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/docs/source/getting-started/installing-caliper.md b/docs/source/getting-started/installing-caliper.md index 1dcbcb66e..2393efa3b 100644 --- a/docs/source/getting-started/installing-caliper.md +++ b/docs/source/getting-started/installing-caliper.md @@ -240,7 +240,7 @@ Let’s see the three types of version numbers you will encounter: ### Pre-requisites -- Node.js v18 LTS or v20 LTS or later LTS version is required to install the Caliper CLI from NPM: +- Node.js v18 LTS, v20 LTS or v22 LTS version is required to install the Caliper CLI from NPM: - Docker version 20.10.11 or later is required for use with the Caliper docker image The following tools may be required depending on which SUT and version you bind to @@ -317,7 +317,7 @@ Depending on your NPM settings, your user might need write access to directories ## Using the Docker image -Caliper is published as the [hyperledger/caliper](https://hub.docker.com/r/hyperledger/caliper) Docker image, providing a single point of usage for every supported adapter. +Caliper is published as the [hyperledger/caliper](https://hub.docker.com/r/hyperledger/caliper) Docker image, providing a single point of usage for every supported adapter. The important properties of the image are the following: @@ -326,7 +326,7 @@ The important properties of the image are the following: * The environment variable `CALIPER_WORKSPACE` is set to the `/hyperledger/caliper/workspace` directory * The entry point is the **globally** installed `caliper` binary * The environment variable `CALIPER_BIND_ARGS` is set to `-g`, so the binding step also occurs globally. -* The default command is set to `--version`. This must be overridden when using the image. +* The default command is set to `--version`. This must be overridden when using the image. This has the following implications: