Skip to content

Commit 28fc7e7

Browse files
committed
RDBC-1083: run fixups
1 parent 7056b25 commit 28fc7e7

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/Cloudflare.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
node-version: [20.x, 22.x]
25+
# Node 22+ : the Vite 6 example config loader needs node:module.registerHooks
26+
# (absent in Node 20), and GitHub is deprecating Node 20 on runners.
27+
node-version: [22.x, 24.x]
2628
dir:
2729
- test/cloudflare-worker # wrangler / esbuild
2830
- test/cloudflare-vite # Vite / Rollup

.mocharc.jsonc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"slow": 1000,
33
"timeout": 40000,
44

5+
// The test/cloudflare-* dirs are self-contained Cloudflare example projects
6+
// (with their own deps); they must not be picked up by the "test/**/*.ts"
7+
// runner or it fails to resolve their bundler deps (e.g. nitropack).
8+
"ignore": [
9+
"test/cloudflare-*/**"
10+
],
11+
512
"node-option": [
613
"import=./register.js"
714
]

0 commit comments

Comments
 (0)