Browse Source

Dont use branch in CI dependencies cache key

master
meriadec 7 years ago
parent
commit
663049d57f
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 4
      .circleci/config.yml

4
.circleci/config.yml

@ -15,13 +15,13 @@ jobs:
- restore_cache: - restore_cache:
name: Restore Yarn Package Cache name: Restore Yarn Package Cache
keys: keys:
- v1-yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }} - v1-yarn-packages-{{ checksum "yarn.lock" }}
- run: - run:
name: Install Dependencies name: Install Dependencies
command: bash scripts/install-ci-deps.sh command: bash scripts/install-ci-deps.sh
- save_cache: - save_cache:
name: Save Yarn Package Cache name: Save Yarn Package Cache
key: v1-yarn-packages-{{ .Branch }}-{{ checksum "yarn.lock" }} key: v1-yarn-packages-{{ checksum "yarn.lock" }}
paths: paths:
- node_modules/ - node_modules/
- run: - run:

Loading…
Cancel
Save