Run tests before making docker image

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-03-09 16:02:41 +01:00 committed by Jakub
parent ed6d320ccf
commit 5ebca6acd0

View File

@ -5,7 +5,7 @@
"scripts": {
"start": "node ./bin/www",
"watch": "nodemon ./bin/www",
"docker": "docker build -t statusteam/universal-links-handler:deploy .",
"docker": "yarn run tests && docker build -t statusteam/universal-links-handler:deploy .",
"tests": "node -r esm tests/main.js"
},
"dependencies": {