From 99dbb50371a213b6df43a771fb908d49eccb973f Mon Sep 17 00:00:00 2001 From: Ildiko Eigel Date: Wed, 16 Oct 2024 10:04:44 +0200 Subject: [PATCH] build: update for Node 22 LTS --- Jenkinsfile | 12 ++++++------ README.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 13c3dc8c..0ffbac77 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -167,14 +167,14 @@ pipeline { stage('Node LTS') { steps { script{ - runTest('20') + runTest('22') } } } stage('IAM Node LTS') { steps { script{ - runTest('20', '-i -g \'#unit|#slowe\'', 'test-iam') + runTest('22', '-i -g \'#unit|#slowe\'', 'test-iam') } } } @@ -185,7 +185,7 @@ pipeline { } steps { script{ - runTest('20', '', 'test-network/conditions') + runTest('22', '', 'test-network/conditions') } } } @@ -198,11 +198,11 @@ pipeline { } } } - stage('Node 22x') { + stage('Node 20x') { steps { - container('node22') { + container('node20') { script{ - runTest('22') + runTest('20') } } } diff --git a/README.md b/README.md index e466fedd..d8e157f4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ npm install -g @cloudant/couchbackup ``` ### Requirements -* Node.js LTS version 18 or 20. +* Node.js LTS version 18, 20, or 22. * The minimum required CouchDB version is 2.0.0. ### Snapshots diff --git a/package-lock.json b/package-lock.json index 170f6f88..896e5a84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "uuid": "10.0.0" }, "engines": { - "node": "^18 || ^20" + "node": "^18 || ^20 || ^22" }, "peerDependencies": { "axios": "^1.7.4", diff --git a/package.json b/package.json index 5494dc93..7d0c7542 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "license": "Apache-2.0", "engines": { - "node": "^18 || ^20" + "node": "^18 || ^20 || ^22" }, "dependencies": { "@ibm-cloud/cloudant": "0.10.3",