Skip to content

Commit 7ff64f8

Browse files
chore: Update CI action to node 18.x (cloudevents#533)
* Update CI action to node 18.x Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com> * doc: update README Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com> --------- Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com>
1 parent 870d211 commit 7ff64f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
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, 16.x]
18+
node-version: [12.x, 14.x, 16.x, 18.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: 16.x
40+
node-version: 18.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: 16.x
63+
node-version: 18.x
6464
- run: |
6565
( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published"
6666
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _Note:_ Supports CloudEvent version 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 12.x, Node.js 14.x and Node.js 16.x. To install in your Node.js project:
22+
those are Node.js 12.x, Node.js 14.x, Node.js 16.x, and Node.js 18.x. To install in your Node.js project:
2323

2424
```console
2525
npm install cloudevents

0 commit comments

Comments
 (0)