diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ac0515886f8624be6453d83b2b5907527ca07ee..bf57e6d992b80263ca6158e00dd06d1a107ac8eb 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