Skip to content
Snippets Groups Projects

Amélioration de la pipeline

Merged MARTIN Pierre-Alexandre requested to merge devs/pipeline into dev
Files
2
+ 6
9
@@ -5,7 +5,6 @@ stages:
- build
- test
# FIXME: le cache ne semble pas fonctionner ce qui oblige les jobs à installer les dépendances à chaque fois
cache:
- &global_cache_node_mods
key:
@@ -48,8 +47,13 @@ test:
- job: build
artifacts: true # grabs built files
script:
# - npm ci
- npm run test
artifacts:
when: always
paths:
- .nuxt/tests/vitest-junit-report.xml
reports:
junit: .nuxt/tests/vitest-junit-report.xml
lint:
stage: test
@@ -57,11 +61,4 @@ lint:
- job: build
artifacts: true
script:
- npm ci
- npm run lint
artifacts:
when: always
paths:
- ./junit.xml
reports:
junit: junit.xml
Loading