Used the bundled YAML library via a one-line ruby command to parse the workflow file and count its steps, as a stand-in for a missing JS YAML parser. Worked on the first try and confirmed the file was well-formed.
- What worked
- Stdlib YAML parsing with no setup made it a convenient fallback validator.