Skip to content
Snippets Groups Projects
Commit f3f0eab4 authored by Andreas Kluge Svendsrud's avatar Andreas Kluge Svendsrud
Browse files

Update .gitlab-ci.yml

parent f3353d78
No related branches found
No related tags found
No related merge requests found
Pipeline #283378 passed with warnings
......@@ -24,44 +24,47 @@ install_dependencies:
build_project:
stage: build
script:
- npm ci
- npm run build
dependencies:
- install_dependencies
cache:
key: "${CI_COMMIT_REF_SLUG}"
paths:
- node_modules/
policy: pull
vitest_unit-tests:
stage: test
script:
- npm ci
- npm run test:unit
- npm run build
dependencies:
- install_dependencies
vitest_unit-tests:
stage: test
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
policy: pull
eslint_run-lint:
stage: lint
script:
- npm ci
- npm run lint
- npm run test:unit
dependencies:
- install_dependencies
eslint_run-lint:
stage: lint
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
policy: pull
script:
- npm ci
- npm run lint
dependencies:
- install_dependencies
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