From 810b74e70bde25c4897d084d1e2829774316f6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 26 Jul 2024 15:45:00 +0200 Subject: [PATCH] Run mocha tests before upgrading version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 085b578ba..88aa06bac 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build:dev": "webpack --mode=development", "dev": "webpack --mode=development -w", "postshrinkwrap": "if [ \"`uname`\" = \"Darwin\" ]; then sed -i '' -e 's/http:\\/\\//https:\\/\\//g' package-lock.json; else sed -i -e 's/http:\\/\\//https:\\/\\//g' package-lock.json; fi", - "preversion": "npm test && npm run build:js", + "preversion": "npm test && npm run test:mocha && npm run lint:quiet && npm run build:js", "version": "npm run build:release && git add release/", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs",