From 0522f55f9d029d942be6c1932ad12f6160711e4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Wed, 30 Dec 2020 21:30:31 +0100 Subject: [PATCH] Add tests to CI runner. --- .gitlab-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86353bc6..976b8d38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,12 +24,14 @@ lint: <<: *global_cache policy: pull-push -# Test: -# stage: Test -# script: -# - npm test -# cache: -# <<: *global_cache +test: + stage: test + before_script: + - npm ci --cache .npm --prefer-offline + script: + - npm test + cache: + <<: *global_cache build: stage: build