Check for dirty tree or outdated dependencies before publish

/cc @zendesk/zendesk-radar


### Steps to merge
 - [x] :+1: of the team

### Risks
 - low: there may be problems publishing new versions