From 5d89fbbd468f972e334c30dedf38ab7a67ecd287 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Wed, 23 Dec 2020 20:07:28 +0100 Subject: [PATCH] update gitlab-ci --- .gitlab-ci.yml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0fa2eb38..4d948f13 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,24 @@ image: node:latest stages: - - test + - test lint: - stage: test - script: - - npm run lint + stage: test + before_script: + - npm install + script: + - npm run lint compile: - stage: test - script: - - npm run build - -#test: -# stage: test -# script: -# - npm test + stage: test + before_script: + - npm install + script: + - npm run build +# test: +# stage: test +# before_script: +# - npm install +# script: +# - npm test