Checks SnapCI environment before publishing successful build using semantic-release
Inspired by condition-travis
npm install --save-dev condition-snap
Add the following to the package.json
"release": {
"verifyConditions": "condition-snap"
}
This tells semantic-release plugins to use this package to verify the environment to make sure we are running on SnapCI.