Skip to content

Commit 8abbc11

Browse files
authored
chore: update readme with current Node LTS versions and add Node 16 to the testing matrix(#465)
* chore: update readme with current Node LTS versions * squash: add node 16 to action matrix Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
1 parent 349b84c commit 8abbc11

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/nodejs-ci-action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
node-version: [12.x, 14.x]
18+
node-version: [12.x, 14.x, 16.x]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -37,7 +37,7 @@ jobs:
3737
- name: Generate coverage report
3838
uses: actions/setup-node@v1
3939
with:
40-
node-version: 14.x
40+
node-version: 16.x
4141
- run: npm ci
4242
- run: npm run build --if-present
4343
- run: npm run coverage
@@ -60,7 +60,7 @@ jobs:
6060
- name: Upload coverage report to codacy
6161
uses: actions/setup-node@v1
6262
with:
63-
node-version: 14.x
63+
node-version: 16.x
6464
- run: |
6565
( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published"
6666
env:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _Note:_ Supports CloudEvent versions 0.3, 1.0
1919
## Installation
2020

2121
The CloudEvents SDK requires a current LTS version of Node.js. At the moment
22-
those are Node.js 10.x and Node.js 12.x. To install in your Node.js project:
22+
those are Node.js 12.x, Node.js 14.x and Node.js 16.x. To install in your Node.js project:
2323

2424
```console
2525
npm install cloudevents

0 commit comments

Comments
 (0)