|
|
|
@ -104,13 +104,13 @@ jobs: |
|
|
|
|
keys: |
|
|
|
|
- dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
# fallback to using the latest cache if no exact match is found |
|
|
|
|
#- dependency-cache- |
|
|
|
|
- dependency-cache- |
|
|
|
|
- run: |
|
|
|
|
name: Install npm 6 + deps via npm |
|
|
|
|
command: | |
|
|
|
|
sudo npm install -g npm@6.1.0 && npm install |
|
|
|
|
- save_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
paths: |
|
|
|
|
- node_modules |
|
|
|
|
|
|
|
|
@ -135,7 +135,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: build:dist |
|
|
|
|
command: npm run dist |
|
|
|
@ -154,7 +154,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: build:dist |
|
|
|
|
command: npm run doc |
|
|
|
@ -169,7 +169,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Get Scss Cache key |
|
|
|
|
# this allows us to checksum against a whole directory |
|
|
|
@ -188,7 +188,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Test |
|
|
|
|
command: npm run lint |
|
|
|
@ -199,7 +199,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Test |
|
|
|
|
command: npx nsp check |
|
|
|
@ -210,7 +210,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
@ -231,7 +231,7 @@ jobs: |
|
|
|
|
name: Install firefox |
|
|
|
|
command: ./.circleci/scripts/firefox-install.sh |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
@ -247,7 +247,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
@ -268,7 +268,7 @@ jobs: |
|
|
|
|
name: Install firefox |
|
|
|
|
command: ./.circleci/scripts/firefox-install.sh |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
@ -284,7 +284,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- run: |
|
|
|
@ -301,7 +301,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- restore_cache: |
|
|
|
@ -328,7 +328,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- restore_cache: |
|
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
|
- restore_cache: |
|
|
|
@ -351,7 +351,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: test:coverage |
|
|
|
|
command: npm run test:coverage |
|
|
|
@ -369,7 +369,7 @@ jobs: |
|
|
|
|
name: Install firefox |
|
|
|
|
command: ./.circleci/scripts/firefox-install.sh |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Get Scss Cache key |
|
|
|
|
# this allows us to checksum against a whole directory |
|
|
|
@ -388,7 +388,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Get Scss Cache key |
|
|
|
|
# this allows us to checksum against a whole directory |
|
|
|
@ -412,7 +412,7 @@ jobs: |
|
|
|
|
name: Install firefox |
|
|
|
|
command: ./.circleci/scripts/firefox-install.sh |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Get Scss Cache key |
|
|
|
|
# this allows us to checksum against a whole directory |
|
|
|
@ -431,7 +431,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- restore_cache: |
|
|
|
|
key: dependency-cache- |
|
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: |
|
|
|
|
name: Get Scss Cache key |
|
|
|
|
# this allows us to checksum against a whole directory |
|
|
|
|