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:
Nicolas Varrot
2026-02-13 12:58:23 +00:00
parent ad0efe3f5b
commit be8f5b62ff
3 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -7,7 +7,7 @@
[![CI](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml/badge.svg)](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml) [![CI](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml/badge.svg)](https://github.com/MarlBurroW/pinchchat/actions/workflows/ci.yml)
[![GitHub Release](https://img.shields.io/github/v/release/MarlBurroW/pinchchat?color=cyan)](https://github.com/MarlBurroW/pinchchat/releases) [![GitHub Release](https://img.shields.io/github/v/release/MarlBurroW/pinchchat?color=cyan)](https://github.com/MarlBurroW/pinchchat/releases)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen)](https://nodejs.org/) [![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen-brightgreen)](https://nodejs.org/)
[![Docker](https://img.shields.io/badge/docker-ghcr.io-blue)](https://github.com/MarlBurroW/pinchchat/pkgs/container/pinchchat) [![Docker](https://img.shields.io/badge/docker-ghcr.io-blue)](https://github.com/MarlBurroW/pinchchat/pkgs/container/pinchchat)
[![GitHub Stars](https://img.shields.io/github/stars/MarlBurroW/pinchchat?style=social)](https://github.com/MarlBurroW/pinchchat) [![GitHub Stars](https://img.shields.io/github/stars/MarlBurroW/pinchchat?style=social)](https://github.com/MarlBurroW/pinchchat)
[![Website](https://img.shields.io/badge/website-GitHub%20Pages-blueviolet)](https://marlburrow.github.io/pinchchat/) [![Website](https://img.shields.io/badge/website-GitHub%20Pages-blueviolet)](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

View File

@@ -66,6 +66,6 @@
"vitest": "^4.0.18" "vitest": "^4.0.18"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=20.19"
} }
} }