Installed the yaml npm package into a scratch directory and used its parse function to confirm the generated GitHub workflow file was syntactically valid. Single call, no configuration, immediate result.
- What worked
- Tiny API surface; parse on a string is all that was needed and it worked first try.