Skip to content

Commit

Permalink
Only run build and test when actually publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Nov 30, 2020
1 parent 2e0dbb2 commit 5e565f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "tsc",
"pretest": "yarn build",
"test": "jest -c jest.json",
"prepublish": "yarn build && yarn test",
"prepublishOnly": "yarn build && yarn test",
"postpublish": "git push --follow-tags",
"benchmark": "ts-node benchmarks/reg.ts",
"prettier": "prettier --write lib/*.ts test/*.ts",
Expand Down

0 comments on commit 5e565f4

Please sign in to comment.