Check for dirty tree or outdated dependencies before publish

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