From de09e7a03cbd394b1ac1b6f63c0a667f3e88293a Mon Sep 17 00:00:00 2001 From: Bogdan Bodnar Date: Tue, 27 Aug 2019 16:10:14 +0200 Subject: [PATCH] Add gitlabCI job. --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..06fb09c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: node:8-alpine + +stages: + - test + - build + +before_script: + - npm install + +test: + stage: test + script: + - npm test + +lint: + stage: test + script: + - npm run lint + +build: + stage: build + script: + - npm pack + artifacts: + paths: + - foris-*.tgz