Skip to content

Commit d25bd70

Browse files
committed
CI: Use Node.js 20
1 parent fd7c2bc commit d25bd70

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 18
16+
node-version: 20
1717
cache: 'npm'
1818
- run: npm ci
1919
- run: npm run prettier

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Use Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 18
26+
node-version: 20
2727
- run: npm ci
2828
- run: TREETOP_TARGET=chrome npm run build
2929
- run: TREETOP_TARGET=firefox npm run build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Treetop is a browser extension that provides a high-level live view of your book
3636

3737
### Requirements
3838

39-
- [Node.js](https://nodejs.org/) 18.x or greater
39+
- [Node.js](https://nodejs.org/) 20.x or greater
4040
- Google Chrome or Firefox browser
4141

4242
### Prerequisites

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"vitest": "~1.1.0"
7474
},
7575
"engines": {
76-
"node": ">=18",
77-
"npm": ">=9"
76+
"node": ">=20",
77+
"npm": ">=10"
7878
}
7979
}

0 commit comments

Comments
 (0)