Skip to content

Commit 8817068

Browse files
authored
Add Node.js 26 support and Drop Node.js 20 support (#1600)
and npm audit fix after review, we 1. add Node.js v26 job to required jobs for PR 2. delete Node.js v20 jobs from required jobs for PR
1 parent f796143 commit 8817068

21 files changed

Lines changed: 1570 additions & 28287 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
matrix:
1616
# https://nodejs.org/en/about/releases/
1717
node:
18-
- '20'
19-
- '20.12.2'
2018
- '22'
21-
- '24.9.0'
19+
- '24'
20+
- '26'
2221
fail-fast: false
2322

2423
name: Node.js ${{ matrix.node }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ignore-scripts=true
22
min-release-age=7
3+
registry=https://registry.npmjs.org/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ line-bot-sdk-nodejs documentation
1919

2020
## Requirements
2121

22-
* **Node.js** 20 or higher
22+
* **Node.js** 22 or higher
2323

2424
## Installation
2525

docs/getting-started/requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements
22

3-
* **Node.js** >= 20.
3+
* **Node.js** >= 22.
44
* It uses ES2022.
55
* [**npm**](https://www.npmjs.com/), preferably >=10
66

examples/echo-bot-esm/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ignore-scripts=true
22
min-release-age=7
3+
registry=https://registry.npmjs.org/

0 commit comments

Comments
 (0)