Skip to content

Commit

Permalink
chore: Include support for node-18
Browse files Browse the repository at this point in the history
This adds `node-18` to the testing matrix and verifies that all tests
still work (no breaking changes to stream functionality).

Fixes: #32
  • Loading branch information
darinspivey committed Jan 17, 2023
1 parent 2332c00 commit 25699ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.2
18.0.0
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pipeline {
axes {
axis {
name 'NODE_VERSION'
values '12', '14', '16', '17'
values '12', '14', '16', '18'
}
}

Expand Down Expand Up @@ -97,7 +97,7 @@ pipeline {
agent {
docker {
label 'ec2-fleet'
image "us.gcr.io/logdna-k8s/node:16-ci"
image "us.gcr.io/logdna-k8s/node:18-ci"
customWorkspace "${PROJECT_NAME}-${BUILD_NUMBER}"
}
}
Expand Down Expand Up @@ -129,7 +129,7 @@ pipeline {
agent {
docker {
label 'ec2-fleet'
image "us.gcr.io/logdna-k8s/node:16-ci"
image "us.gcr.io/logdna-k8s/node:18-ci"
customWorkspace "${PROJECT_NAME}-${BUILD_NUMBER}"
}
}
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ in Node.js could also benefit from using this.
npm install @logdna/tail-file
```

## Supported Versions of Node.js
This package works with the following *supported* versions. Other versions might work, but the ones listed here are officially tested.
If backward-compatibility is lost over time, a `major` version will be released supporting
the latest version, and deprecating incompatible versions. Users are then encouraged to try
previous versions of this package for those deprecated versions of Node.js.

**Node.js versions**: `12`, `14`, `16`, `18`

## Usage

Instantiate an instance by passing the full path of a file to tail.
Expand Down

0 comments on commit 25699ef

Please sign in to comment.