Skip to content

Commit c1b7209

Browse files
committed
fix: switch to prepublishOnly script
1 parent c095a6d commit c1b7209

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ node_js:
99
- '7'
1010
- '6'
1111
install:
12-
- yarn install --ignore-engines --check-files --frozen-lockfile --ignore-scripts
12+
- yarn install --ignore-engines --check-files --frozen-lockfile
13+
script:
14+
- yarn run prepublishOnly
1315
after_success:
1416
- npm run codecov
1517
- npm-run travis-deploy-once "npm run semantic-release"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"commitmsg": "commitlint -e $GIT_PARAMS",
1818
"precommit": "npm run lint && flow",
1919
"prepush": "npm test",
20-
"prepublish": "npm run lint && flow && npm test && npm run build",
20+
"prepublishOnly": "npm run lint && flow && npm test && npm run build",
2121
"open:coverage": "open coverage/lcov-report/index.html",
2222
"semantic-release": "semantic-release",
2323
"travis-deploy-once": "travis-deploy-once"

solano.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ environment:
99
'CI': 'true'
1010

1111
hooks:
12-
pre_setup: yarn install --ignore-engines --check-files --frozen-lockfile --ignore-scripts
12+
pre_setup: yarn install --ignore-engines --check-files --frozen-lockfile
1313
post_build: npm run codecov && npm run semantic-release
1414

1515
tests:
16-
- yarn run prepublish
16+
- yarn run prepublishOnly
1717

1818
cache:
1919
key_paths:

0 commit comments

Comments
 (0)