1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

bump cache version

This commit is contained in:
brunobar79 2018-07-21 12:59:22 -04:00
parent f309b1012c
commit b1cfe52f07

View File

@ -102,9 +102,9 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v4-dependency-cache-{{ checksum "package-lock.json" }} - v1.0-dependency-cache-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found # fallback to using the latest cache if no exact match is found
- v4-dependency-cache- - v1.0-dependency-cache-
- run: - run:
name: Install npm 6 + deps via npm name: Install npm 6 + deps via npm
command: | command: |
@ -120,7 +120,7 @@ jobs:
exit 1; exit 1;
fi fi
- save_cache: - save_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
paths: paths:
- node_modules - node_modules
@ -130,12 +130,12 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-firefox- key: v1.0-dependency-cache-firefox-
- run: - run:
name: Download Firefox If needed name: Download Firefox If needed
command: ./.circleci/scripts/firefox-download.sh command: ./.circleci/scripts/firefox-download.sh
- save_cache: - save_cache:
key: v4-dependency-cache-firefox- key: v1.0-dependency-cache-firefox-
paths: paths:
- firefox - firefox
@ -145,7 +145,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: build:dist name: build:dist
command: npm run dist command: npm run dist
@ -164,7 +164,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: build:dist name: build:dist
command: npm run doc command: npm run doc
@ -179,7 +179,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Get Scss Cache key name: Get Scss Cache key
# this allows us to checksum against a whole directory # this allows us to checksum against a whole directory
@ -198,7 +198,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Test name: Test
command: npm run lint command: npm run lint
@ -209,7 +209,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Test name: Test
command: npx nsp check command: npx nsp check
@ -220,7 +220,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -236,12 +236,12 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-firefox- key: v1.0-dependency-cache-firefox-
- run: - run:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -257,7 +257,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -273,12 +273,12 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-firefox- key: v1.0-dependency-cache-firefox-
- run: - run:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -294,7 +294,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -311,7 +311,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- restore_cache: - restore_cache:
@ -338,7 +338,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- restore_cache: - restore_cache:
@ -361,7 +361,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: test:coverage name: test:coverage
command: npm run test:coverage command: npm run test:coverage
@ -374,12 +374,12 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-firefox- key: v1.0-dependency-cache-firefox-
- run: - run:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Get Scss Cache key name: Get Scss Cache key
# this allows us to checksum against a whole directory # this allows us to checksum against a whole directory
@ -398,7 +398,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Get Scss Cache key name: Get Scss Cache key
# this allows us to checksum against a whole directory # this allows us to checksum against a whole directory
@ -417,12 +417,12 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-firefox- key: v1.0-dependency-cache-firefox-
- run: - run:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Get Scss Cache key name: Get Scss Cache key
# this allows us to checksum against a whole directory # this allows us to checksum against a whole directory
@ -441,7 +441,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: v4-dependency-cache-{{ checksum "package-lock.json" }} key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Get Scss Cache key name: Get Scss Cache key
# this allows us to checksum against a whole directory # this allows us to checksum against a whole directory