From 96e52dc85004cbf727e277c712b001adc7a0bdaf Mon Sep 17 00:00:00 2001 From: Tristan Chin Date: Tue, 1 Aug 2023 21:11:08 -0400 Subject: [PATCH] [monorepo] Add tests as part of release process --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 34934f3..fbf56f7 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,10 @@ "lint:strict": "lerna run lint:strict", "lint:fix": "lerna run lint:fix", "test": "lerna run test", - "release": "npm run build && lerna publish", - "release:patch": "npm run build && lerna publish patch --yes", - "release:minor": "npm run build && lerna publish minor --yes", - "release:major": "npm run build && lerna publish major --yes", + "release": "npm run build && npm test && lerna publish", + "release:patch": "npm run build && npm test && lerna publish patch --yes", + "release:minor": "npm run build && npm test && lerna publish minor --yes", + "release:major": "npm run build && npm test && lerna publish major --yes", "postinstall": "npm run build:lib && npm run build:stats" }, "workspaces": [