From 35f7fde7c5bb89d3b5c288f14da28b4518828258 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sun, 21 Jun 2020 23:19:28 +0800 Subject: [PATCH] build: test when release --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 841cd70..d753a7b 100755 --- a/Makefile +++ b/Makefile @@ -5,6 +5,9 @@ build: rm -rf dist yarn build +test: + yarn test + upload-for-analytics: # make sure sentry can retrieve current commit on remote git push --tags @@ -22,6 +25,7 @@ rename-compressed: release: $(MAKE) build + $(MAKE) test $(MAKE) upload-for-analytics $(MAKE) compress $(MAKE) rename-compressed