How it works
Very casual, clipped speech. 昨日 (yesterday) sets the time with no particle, then 何 (what) is the object — again no を (object) marker, dropped in fast casual talk. The verb する (do) becomes plain past した (did), and the rising tone alone makes it a question.