Commit 088dce0f authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(cache): absolute cache dir variables

parent 25f87dc8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -282,9 +282,9 @@ stages:
      command: ["--service", "node", "3.3.0" ]
  variables:
    # Yarn cache (better than --cache-folder option, deprecated)
    YARN_CACHE_FOLDER: $NODE_PROJECT_DIR/.yarn
    YARN_CACHE_FOLDER: "$CI_PROJECT_DIR/$NODE_PROJECT_DIR/.yarn"
    # NPM cache
    npm_config_cache: $NODE_PROJECT_DIR/.npm
    npm_config_cache: "$CI_PROJECT_DIR/$NODE_PROJECT_DIR/.npm"
  # Cache downloaded dependencies and plugins between builds.
  # To keep cache across branches add 'key: "$CI_JOB_NAME"'
  cache: