fix: drop Node 18 from CI matrix — Vite 7.3 requires Node 20.19+
- Remove Node 18 from CI test matrix (crypto.hash not available) - Update engines field to >=20.19 - Update README Node.js version references
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18, 20, 22]
|
node-version: [20, 22]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
[](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml)
|
[](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml)
|
||||||
[](https://github.com/MarlBurroW/pinchchat/releases)
|
[](https://github.com/MarlBurroW/pinchchat/releases)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://nodejs.org/)
|
[](https://nodejs.org/)
|
||||||
[](https://github.com/MarlBurroW/pinchchat/pkgs/container/pinchchat)
|
[](https://github.com/MarlBurroW/pinchchat/pkgs/container/pinchchat)
|
||||||
[](https://github.com/MarlBurroW/pinchchat)
|
[](https://github.com/MarlBurroW/pinchchat)
|
||||||
[](https://marlburrow.github.io/pinchchat/)
|
[](https://marlburrow.github.io/pinchchat/)
|
||||||
@@ -60,7 +60,7 @@ docker compose up -d
|
|||||||
|
|
||||||
### From source
|
### From source
|
||||||
|
|
||||||
**Prerequisites:** Node.js 18+, an OpenClaw gateway running and accessible.
|
**Prerequisites:** Node.js 20+, an OpenClaw gateway running and accessible.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/MarlBurroW/pinchchat.git
|
git clone https://github.com/MarlBurroW/pinchchat.git
|
||||||
@@ -271,7 +271,7 @@ Reload the page. All WebSocket frames (sent and received) will be logged to the
|
|||||||
### Build errors from source
|
### Build errors from source
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Ensure Node.js 18+
|
# Ensure Node.js 20+
|
||||||
node --version
|
node --version
|
||||||
# Clean install
|
# Clean install
|
||||||
rm -rf node_modules package-lock.json
|
rm -rf node_modules package-lock.json
|
||||||
|
|||||||
@@ -66,6 +66,6 @@
|
|||||||
"vitest": "^4.0.18"
|
"vitest": "^4.0.18"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=20.19"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user