1
0
Fork 0

build: add tests

This commit is contained in:
ssube 2019-06-28 20:25:53 -05:00
parent 19316596a9
commit 35781f8b59
2 changed files with 4 additions and 1 deletions

View File

@ -83,7 +83,7 @@ build-node:
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- make
- make bundle test
- make run-rules
artifacts:

View File

@ -79,6 +79,9 @@ build: bundle
bundle: node_modules
$(NODE_BIN)/rollup --config $(CONFIG_PATH)/rollup.js
test: bundle
$(NODE_BIN)/mocha $(TARGET_PATH)/test.js
yarn-install: ## install dependencies from package and lock file
yarn