diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a03f7343..47b96e0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ test: before_script: - docker-compose -f docker-compose.test.yml build script: - - docker-compose -f docker-compose.test.yml run contracts-env npm run test + - docker-compose -f docker-compose.test.yml run contracts-env npm run ci:test after_script: - docker-compose -f docker-compose.test.yml run contracts-env npm run ci:clean - docker-compose -f docker-compose.test.yml down diff --git a/package.json b/package.json index 2385201c..34e56bfa 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dev:deployment": "buidler dev-deployment", "dev:deployExample": "buidler deploy-Example", "dev:prettier": "prettier --write .", + "ci:test": "npm run compile && npm run types-gen && npm run test", "ci:clean": "rm -rf ./artifacts ./cache ./types" }, "devDependencies": {