diff --git a/.release-it-fe.json b/.release-it-fe.json index c43b378cc..51dcf7b47 100644 --- a/.release-it-fe.json +++ b/.release-it-fe.json @@ -2,6 +2,7 @@ "hooks": { "before:init": [ "npm run lint-fe", + "npm run test-fe", "cd frontend && npx gulp build-production" ], "before:release": [ diff --git a/.release-it.json b/.release-it.json index eef5d328c..f42cd529e 100644 --- a/.release-it.json +++ b/.release-it.json @@ -2,7 +2,7 @@ "hooks": { "before:init": [ "npm run lint", - "npm run test-be", + "npm run test", "cd frontend && npx gulp build-production" ], "before:release": [ diff --git a/package.json b/package.json index 46e1d7acf..81d02c497 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "install-all": "sh ./bin/install.sh", "install-windows": ".\\bin\\install.cmd", "docker": "cd backend && docker compose up", + "test": "npm run test-be && npm run test-fe", "test-be": "cd backend && npm run test", "test-fe": "cd frontend && npm run test", "dev": "concurrently --kill-others \"npm run dev-fe\" \"npm run dev-be\"",