From fd113c186842ed2c8bef0d69147668ab8c42f9ab Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Thu, 10 Nov 2022 13:43:11 +0100 Subject: [PATCH] Run `npm test` in CI mode for releases --- .release-it.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.release-it.json b/.release-it.json index ba809a5..6ec9bba 100644 --- a/.release-it.json +++ b/.release-it.json @@ -3,7 +3,7 @@ "release": true }, "hooks": { - "before:init": ["test `git rev-parse --abbrev-ref HEAD` == 'develop'", "npm run lint", "npm test"], + "before:init": ["test `git rev-parse --abbrev-ref HEAD` == 'develop'", "npm run lint", "CI=1 npm test"], "after:bump": "npm run build" } }