Skip to content

Commit

Permalink
fix: switch to prepublishOnly script
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Jan 16, 2018
1 parent c095a6d commit c1b7209
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions solano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c1b7209

Please sign in to comment.