Skip to content

Commit

Permalink
build: update for Node 22 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
mojito317 committed Oct 18, 2024
1 parent ad12260 commit 99dbb50
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}
}
Expand All @@ -185,7 +185,7 @@ pipeline {
}
steps {
script{
runTest('20', '', 'test-network/conditions')
runTest('22', '', 'test-network/conditions')
}
}
}
Expand All @@ -198,11 +198,11 @@ pipeline {
}
}
}
stage('Node 22x') {
stage('Node 20x') {
steps {
container('node22') {
container('node20') {
script{
runTest('22')
runTest('20')
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"license": "Apache-2.0",
"engines": {
"node": "^18 || ^20"
"node": "^18 || ^20 || ^22"
},
"dependencies": {
"@ibm-cloud/cloudant": "0.10.3",
Expand Down

0 comments on commit 99dbb50

Please sign in to comment.