Perform a prepublish check that prevents dirty trees and outdated package

/cc @zendesk/zendesk-radar


### Steps to merge
 - [ ] :+1: of the team

### Risks
 - low: `npm publish .` may not work as expected