Commit 366c890
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 366c890
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
0 commit comments