add running tests into the build process

This commit is contained in:
zadam
2020-08-14 22:30:01 +02:00
parent c2789bf355
commit b815e10ff3
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
#!/usr/bin/env bash
echo "Running tests"
npm run test-all || { echo 'unit tests failed' ; exit 1; }
echo "Deleting existing builds"
rm -rf dist/*