diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00ecd11a7a86aef0a362f9ea60e2dd3df4ba76c6..df8cbc25a31523c5fc44320e571466fa4adc025a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,13 +37,28 @@ build_project: vitest_unit-tests: stage: test script: + - npm ci - npm run test:unit + dependencies: + - install_dependencies cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules/ policy: pull +eslint_lint: + stage: test + script: + - npm run lint + dependencies: + - install_dependencies + cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - node_modules/ + policy: pull + allow_failure: true