From 306f4188071e25d3325b5dd1a20b52997d386558 Mon Sep 17 00:00:00 2001 From: Tobias Priesching Date: Sun, 25 Oct 2020 22:16:53 +0100 Subject: [PATCH] add test before publish --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e1cfbd932..501e27fc0 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ "test:coverage": "jest --collectCoverage", "test:watch": "jest --watch", "update": "yarn upgrade-interactive --latest", - "publish:patch": "yarn prepare && yarn copyAPIToDoc && npm version patch && npm publish", - "publish:minor": "yarn prepare && yarn copyAPIToDoc && npm version minor && npm publish", - "publish:major": "yarn prepare && yarn copyAPIToDoc && npm version major && npm publish" + "publish:patch": "yarn prepare && yarn test && yarn copyAPIToDoc && npm version patch && npm publish", + "publish:minor": "yarn prepare && yarn test && yarn copyAPIToDoc && npm version minor && npm publish", + "publish:major": "yarn prepare && yarn test && yarn copyAPIToDoc && npm version major && npm publish" }, "dependencies": { "is-mobile": "2.2.2",