Demo: preview workflow YAML as a tree
YAML indentation makes structure easy to write and easy to misread. A tree preview helps catch whether jobs, steps, environment variables, and nested configuration ended up under the intended parent.
- Check arrays under steps, containers, rules, or hosts carefully.
- Use the preview after copy-pasting snippets from documentation.
- Review multi-document YAML one document at a time when possible.
name: CI
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm test