diff --git a/.travis.yml b/.travis.yml index 66361c0..a19725d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,9 @@ node_js: - '7' - '6' install: - - yarn install --ignore-engines --check-files --frozen-lockfile --ignore-scripts + - yarn install --ignore-engines --check-files --frozen-lockfile +script: + - yarn run prepublishOnly after_success: - npm run codecov - npm-run travis-deploy-once "npm run semantic-release" diff --git a/package.json b/package.json index ec9c93f..e33c4a1 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "commitmsg": "commitlint -e $GIT_PARAMS", "precommit": "npm run lint && flow", "prepush": "npm test", - "prepublish": "npm run lint && flow && npm test && npm run build", + "prepublishOnly": "npm run lint && flow && npm test && npm run build", "open:coverage": "open coverage/lcov-report/index.html", "semantic-release": "semantic-release", "travis-deploy-once": "travis-deploy-once" diff --git a/solano.yml b/solano.yml index 10ebbcc..9ae8af6 100644 --- a/solano.yml +++ b/solano.yml @@ -9,11 +9,11 @@ environment: 'CI': 'true' hooks: - pre_setup: yarn install --ignore-engines --check-files --frozen-lockfile --ignore-scripts + pre_setup: yarn install --ignore-engines --check-files --frozen-lockfile post_build: npm run codecov && npm run semantic-release tests: - - yarn run prepublish + - yarn run prepublishOnly cache: key_paths: