fix(ci): glob test files instead of passing directories to node --test

Node 24's test runner spawns directory arguments as entry modules
(MODULE_NOT_FOUND); Node 26 accepts them. Shell-expanded file globs work
on both — found by the first real CI run on the Gitea runner, where the
Node 24 matrix leg and the release gate failed while 26 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014NgfSjHE11oFpoSnLVKLXd
This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-08 21:46:42 +02:00
co-authored by Claude Fable 5
parent c5f297a3b7
commit 4094be4c4c
+2 -2
View File
@@ -11,8 +11,8 @@
"node": ">=24"
},
"scripts": {
"test": "node --test packages/core/test/ packages/html/test/ packages/component/test/ packages/devtools/test/ packages/migrate/test/ packages/bankai/test/",
"test:e2e": "node --test test/e2e/",
"test": "node --test packages/*/test/*.test.js",
"test:e2e": "node --test test/e2e/*.test.js",
"bench": "node bench/render.js",
"bench:browser": "node bench/real-browser.js",
"size": "node scripts/size.js",