Skip to content
Snippets Groups Projects
Commit 3b1702ca authored by Andreas's avatar Andreas
Browse files

feat/Job for checking lint

parent dcd3dcb9
No related branches found
No related tags found
1 merge request!46Updated jobs to also check vitest unit tests and run npm lint to check lint
...@@ -37,13 +37,28 @@ build_project: ...@@ -37,13 +37,28 @@ build_project:
vitest_unit-tests: vitest_unit-tests:
stage: test stage: test
script: script:
- npm ci
- npm run test:unit - npm run test:unit
dependencies:
- install_dependencies
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- node_modules/ - node_modules/
policy: pull 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment