UNPKG

five-bells-integration-test-loader

Version:
16 lines (15 loc) 568 B
machine: node: version: 10.1.0 test: override: - npm run lint - if git log -1 --pretty=%B | grep -qF "[skip tests]"; then true; else npm test; fi - if git log -1 --pretty=%B | grep -qF "[skip tests]"; then true; else npm run integration; fi deployment: production: branch: master commands: # Push NPM package if not yet published - mv npmrc-env .npmrc - if [ $(npm show five-bells-integration-test-loader version) != $(npm ls --depth=-1 2>/dev/null | head -1 | cut -f 1 -d " " | cut -f 2 -d @) ] ; then npm publish ; fi