Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.JS <17 was EOL. #474

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
# https://nodejs.org/en/about/releases/
node: [ '14', '16', '18' ]
node: [ '18', '20' ]
fail-fast: false

name: Node.js ${{ matrix.node }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ line-bot-sdk-nodejs documentation: https://line.github.io/line-bot-sdk-nodejs/#g

## Requirements

* **Node.js** 10 or higher
* **Node.js** 18 or higher

## Installation

Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/requirements.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Requirements

* **Node.js** >= 4, preferably >=6
* **Node.js** >= 18.
* It uses ES2015.
* [**npm**](https://www.npmjs.com/), preferably >=5
* [**npm**](https://www.npmjs.com/), preferably >=10

Other dependencies are installed via npm, and do not need to be pre-installed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "7.6.2",
"description": "Node.js SDK for LINE Messaging API",
"engines": {
"node": ">=10"
"node": ">=18"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down