ci: glob codebox tests so node 22 finds them #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/codebox-ci-node22"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
Fix the
codeboxCI lane, red sincetools/codebox-harnesswas added (6b03d51).node --test tools/codebox-harness/on node 22 (the lane'snode:22-bookworm-slimimage) resolves the directory as a module:Error: Cannot find module '.../tools/codebox-harness', 1 test, 1 fail. Node >=23 expands the directory, so it passed locally. Bothci.ymland thenpm testscript now use a quoted glob,'tools/codebox-harness/*.test.mjs'.Testing
npm test: 52/52 pass.Impact Statement
npm testunchanged in result.*.test.mjssuffix to be picked up (all current ones do).Docs
None needed.