build: test when release

This commit is contained in:
EnixCoda 2020-06-21 23:19:28 +08:00
parent 2b86291ecd
commit 35f7fde7c5
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -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