Commit a43b9e9
authored
fix(action): await run() in GH mode to prevent early exit\n\nWhen running as a GitHub Action we were invoking run() without awaiting it.\nWith recent telemetry/visualizer changes no longer keeping the event loop\nopen in CI, Node could exit immediately after the first await, causing runs\nto stop after initial logs.\n\n- Wrap entrypoint IIFE in async and await run() for GH mode\n- Also await CLI main() in CLI mode\n- Add error handling to setFailed() and exit non-zero on failure\n\nThis addresses early termination seen in Actions while remaining a no-op\nlocally except for improved error handling. (#200)
1 parent ec686d7 commit a43b9e9
2 files changed
+1021
-7760
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments