Skip to content

Commit ec8c6de

Browse files
holkexyzclaude
andcommitted
ci: bump Node to 20.19.0 — vitest 4 / rolldown needs util.styleText
`npm test` (vitest 4.1.6 -> rolldown 1.0.1) imports `styleText` from `node:util`, which only exists from Node 20.12.0. CI, .nvmrc, and the engines floor were pinned to 20.9.0, so `vitest run` crashed at startup with "does not provide an export named 'styleText'". Raise CI + .nvmrc to 20.19.0 (latest 20.x LTS) and the engines floor to >=20.12.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fc065a6 commit ec8c6de

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '20.9.0'
19+
node-version: '20.19.0'
2020
cache: npm
2121

2222
- name: Install dependencies

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.9.0
1+
20.19.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"engines": {
6-
"node": ">=20.9.0"
6+
"node": ">=20.12.0"
77
},
88
"scripts": {
99
"dev": "next dev",

0 commit comments

Comments
 (0)