From 10cd2866a2d110e0ff0d75ca0a3b4b2a5dfd577f Mon Sep 17 00:00:00 2001 From: sfxcode Date: Sat, 2 Nov 2024 18:59:58 +0100 Subject: [PATCH] build(release): add test step --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0b9bd46..d635dc1 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "dev": "vite serve dev", "dev:build": "vite build dev", "dev:preview": "vite preview dev", - "release": "npm run lint && npm run lint && npm run build && changelogen --patch --release && npm publish --access public && git push --follow-tags", + "release": "npm run test && npm run lint && npm run build && changelogen --patch --release && npm publish --access public && git push --follow-tags", "lint": "eslint ./src", "lint:fix": "eslint . --fix", "prepublishOnly": "pnpm build",