Commit 5f48b6c
committed
ci: disable native strip-types on Node 22+ for ts-node compat
Node 22.18+ enables type stripping by default, preempting ts-node
and causing __dirname to be undefined when detect-module reparses
test files as ESM. Disable native strip-types so ts-node handles
.ts files until mocha is replaced with node:test.
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff93447 commit 5f48b6c
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments