From 83b499fd719a7c5b946121458f68414f62806a0d Mon Sep 17 00:00:00 2001 From: andyk Date: Fri, 21 Aug 2020 15:19:07 +0300 Subject: [PATCH] fix ci -5 --- .gitlab-ci.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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": {