From 2885bc4643dc27d41fcd726a5ec30fc2caeb9b7a Mon Sep 17 00:00:00 2001 From: Bsian Date: Mon, 16 Dec 2019 22:41:28 +0000 Subject: [PATCH] CI --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5c3af4b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +stages: + - build + - test + +typescript_build: + stage: build + script: + - cp /var/CloudServices/src/config.json ./src/config.json + - yarn install --ignore-engines + - tsc -p ./tsconfig.json + +lint: + stage: test + before_script: + - yarn install --ignore-engines + script: + - yarn run lint-find +