From ef5850b63ff68cce08febf4acc40a02166d07ef3 Mon Sep 17 00:00:00 2001 From: Andreas <andreksv@ntnu.no> Date: Thu, 18 Apr 2024 10:01:54 +0200 Subject: [PATCH] test/Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ac0515..bf57e6d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: node:alpine # Much smaller than other variants, faster and more resource stages: - install_dependencies + - lint - build_project cache: @@ -12,7 +13,12 @@ cache: install_dependencies: stage: install_dependencies script: - - npm ci + - npm install + +lint: + stage: lint + script: + - npm run lint build_project: stage: build_project -- GitLab