diff --git a/.github/workflows/nodejs-ci-action.yml b/.github/workflows/nodejs-ci-action.yml index 4adff11f..f95363cb 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: [22.x, 24.x] + node-version: [22.x, 24.x, 26.x] steps: - uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: - name: Generate coverage report uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 26.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@v4 with: - node-version: 22.x + node-version: 26.x - run: | ( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published" env: diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index 219c833f..4115a188 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '22.x' + node-version: '26.x' registry-url: 'https://registry.npmjs.org' - run: npm install -g npm - run: npm ci diff --git a/README.md b/README.md index 364b3a38..3a1a73fa 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 22.x, and Node.js 24.x. To install in your Node.js project: +those are Node.js 22.x, Node.js 24.x, and Node.js 26.x. To install in your Node.js project: ```console npm install cloudevents diff --git a/package-lock.json b/package-lock.json index 7d42785d..e4897028 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "webpack-cli": "^4.10.0" }, "engines": { - "node": ">=22 <=24" + "node": ">=22 <=26" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 4a588f90..923b0448 100644 --- a/package.json +++ b/package.json @@ -171,6 +171,6 @@ }, "types": "./dist/index.d.ts", "engines": { - "node": ">=22 <=24" + "node": ">=22 <=26" } }