Skip to content

Commit 05e3564

Browse files
authored
Merge pull request #542 from ethereum/removePrepublishOnlyFromPretest
Remove `npm run prepublishOnly` from `pretest`.
2 parents fb7a98d + d3473fc commit 05e3564

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- run:
2828
name: install-npm
2929
command: npm install
30+
- run:
31+
name: updateBinary
32+
command: npm run updateBinary
3033
- run:
3134
name: test
3235
command: npm run test

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
},
99
"scripts": {
1010
"lint": "node ./node_modules/semistandard/bin/cmd.js",
11-
"prepublishOnly": "node downloadCurrentVersion.js && node verifyVersion.js",
12-
"pretest": "npm run lint && npm run prepublishOnly",
11+
"updateBinary": "node downloadCurrentVersion.js && node verifyVersion.js",
12+
"prepublishOnly": "npm run updateBinary",
13+
"pretest": "npm run lint",
1314
"test": "tape ./test/index.js",
1415
"coverage": "node ./node_modules/nyc/bin/nyc.js --reporter=lcov --reporter=text-summary ./node_modules/tape/bin/tape ./test/index.js",
1516
"coveralls": "npm run coverage && node ./node_modules/coveralls/bin/coveralls.js <coverage/lcov.info"

0 commit comments

Comments
 (0)