Skip to content

Commit 95ff6d4

Browse files
committed
test: added test script before deploy
1 parent 5627a8e commit 95ff6d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"dev": "lerna run dev --scope=react-isomorphic-data --stream",
1717
"example": "lerna run start --scope=client --stream",
1818
"example:ssr": "lerna run start --scope=ssr --stream",
19-
"deploy": "HUSKY_SKIP_HOOKS=true lerna publish --conventional-commits --create-release github",
20-
"deploy:dryrun": "HUSKY_SKIP_HOOKS=true lerna version --no-commit-hooks --no-git-tag-version --no-push",
19+
"deploy": "yarn test && HUSKY_SKIP_HOOKS=true lerna publish --conventional-commits --create-release github",
20+
"deploy:dryrun": "yarn test && HUSKY_SKIP_HOOKS=true lerna version --no-commit-hooks --no-git-tag-version --no-push",
2121
"docgen:api": "yarn typedoc --out docusaurus/docs/api packages/react-isomorphic-data/src --tsconfig packages/react-isomorphic-data/tsconfig.json --theme docusaurus",
2222
"test": "lerna run test --scope=react-isomorphic-data --stream",
2323
"test:coverage": "lerna run test:coverage --scope=react-isomorphic-data --stream"

0 commit comments

Comments
 (0)