Skip to content

Commit

Permalink
Add support for Node 22 LTS (#1650)
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Kelsey <d_kelsey@uk.ibm.com>
Co-authored-by: Dave Kelsey <d_kelsey@uk.ibm.com>
  • Loading branch information
davidkel and Dave Kelsey authored Nov 15, 2024
1 parent cc0ada4 commit 3fd4c0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions docs/source/getting-started/installing-caliper.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:

Expand All @@ -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:

Expand Down

0 comments on commit 3fd4c0c

Please sign in to comment.