Skip to content

Commit

Permalink
CI: Use Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
msmolens committed Dec 29, 2023
1 parent fd7c2bc commit 2100818
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run prettier
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- run: npm ci
- run: TREETOP_TARGET=chrome npm run build
- run: TREETOP_TARGET=firefox npm run build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Treetop is a browser extension that provides a high-level live view of your book

### Requirements

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

### Prerequisites
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"vitest": "~1.1.0"
},
"engines": {
"node": ">=18",
"npm": ">=9"
"node": ">=20",
"npm": ">=10"
}
}

0 comments on commit 2100818

Please sign in to comment.