]> git.r.bdr.sh - rbdr/cologne/commitdiff
Cache the nyc_output dir
authorRuben Beltran del Rio <redacted>
Mon, 21 Sep 2020 11:56:23 +0000 (13:56 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 21 Sep 2020 11:56:23 +0000 (13:56 +0200)
.gitlab-ci.yml

index 6c94c32ce4d3c4c17be6ffb52e19137dc15fa8c5..b64361cd24d4883153764c46ee75cc23a847e1af 100644 (file)
@@ -27,12 +27,16 @@ lint:
 test:
   <<: *only-default
   stage: test
+  cache:
+    paths:
+      - .nyc_output/
   script:
     - npm test
 
 quality:
-  stage: "quality"
-  needs: ["test"]
+  stage: quality
+  needs:
+    -test
   image:
     name: sonarsource/sonar-scanner-cli:latest
     entrypoint: [""]