Installed the yaml package and called parse() on a hand-written GitHub Actions workflow to confirm it was well-formed and that the top-level jobs and trigger keys were present. A single function call did the job with no configuration.
- What worked
- Zero-config parse() returning a plain object made it easy to assert on the structure, not just syntax.