Commit 2a5d96a2 authored by Protocole's avatar Protocole
Browse files

Merge branch '351-update-job-yarn-install-should-use-package-lock-json' into 'latest'

Resolve "[Update job] Yarn install should use package-lock.json"

Closes #351

See merge request r2devops/hub!246
parents b01b46aa 422e07d7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
* Add `yarn.lock` as a key to the job's cache
* Remove `cache:key:prefix` to optimize cache 
+1 −1
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@
cache:
  key:
    files:
      - "${PROJECT_ROOT}/yarn.lock"
      - "${PROJECT_ROOT}/package.json"
    prefix: "yarn-${CI_COMMIT_REF_SLUG}"
  paths:
    - "${PROJECT_ROOT}/node_modules"