Explicitly exit process for CI

This commit is contained in:
François Leblanc 2025-07-14 23:35:52 -04:00
commit b84e5271f4
2 changed files with 5 additions and 0 deletions

View file

@ -36,3 +36,6 @@ jobs:
- name: Run tests
run: npm test
env:
NPM_CONFIG_YES: true
CI: true

View file

@ -287,6 +287,8 @@ async function main(): Promise<void> {
try {
const args = parseArgs();
await callMethod(args);
// Explicitly exit to ensure process terminates in CI
process.exit(0);
} catch (error) {
handleError(error);
}