Skip to content

Commit 171edc6

Browse files
committed
require tests to run before tagging & releasing
1 parent 375c6b6 commit 171edc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"size": "echo \"Gzipped Size: $(strip-json-comments --no-whitespace $npm_package_main | gzip-size --raw)\"",
1616
"test": "eslint src test && mocha --compilers babel-register",
1717
"prepublish": "npm run -s build",
18-
"release": "npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
18+
"release": "npm run -s build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1919
},
2020
"authors": [
2121
"Jason Miller <jason@developit.ca>"

0 commit comments

Comments
 (0)