From d2c4a5e6df40ef538253e5a45d51155892712c70 Mon Sep 17 00:00:00 2001 From: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:17:01 -0600 Subject: [PATCH 1/2] Update CI action to node 18.x Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com> --- .github/workflows/nodejs-ci-action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs-ci-action.yml b/.github/workflows/nodejs-ci-action.yml index e90e207e..57b91bc5 100644 --- a/.github/workflows/nodejs-ci-action.yml +++ b/.github/workflows/nodejs-ci-action.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x, 18.x] steps: - uses: actions/checkout@v2 @@ -37,7 +37,7 @@ jobs: - name: Generate coverage report uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 18.x - run: npm ci - run: npm run build --if-present - run: npm run coverage @@ -60,7 +60,7 @@ jobs: - name: Upload coverage report to codacy uses: actions/setup-node@v1 with: - node-version: 16.x + node-version: 18.x - run: | ( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published" env: From 0776b8544b6c1a96b2757dcc76c82cf1c68cc69a Mon Sep 17 00:00:00 2001 From: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:25:05 -0600 Subject: [PATCH 2/2] doc: update README Signed-off-by: Jordan Moore <1930631+OneCricketeer@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cb51905..813a763b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ _Note:_ Supports CloudEvent version 1.0 ## Installation The CloudEvents SDK requires a current LTS version of Node.js. At the moment -those are Node.js 12.x, Node.js 14.x and Node.js 16.x. To install in your Node.js project: +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: ```console npm install cloudevents