Commit b54c72a6 authored by Pierre Smeyers's avatar Pierre Smeyers Committed by Mathis Goichon
Browse files

fix(cache): Using variable $NODE_MANAGER won't work if auto-detection is...

fix(cache): Using variable $NODE_MANAGER won't work if auto-detection is enabled (cache path is evaluated before executing our scripts)
parent 822c7a64
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -275,7 +275,8 @@ stages:
  cache:
    key: "$CI_COMMIT_REF_SLUG-node"
    paths:
      - $NODE_PROJECT_DIR/.$NODE_MANAGER/
      - $NODE_PROJECT_DIR/.npm/
      - $NODE_PROJECT_DIR/.yarn/
  before_script:
    - *node-scripts
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"