Anonymous interview question

How to write yaml pipeline