publish: add deps to build step

generated from commit e1bf1ab261344b38922cef8504c914271df63190