restore circleci config

feature/default_network_editable
brunobar79 6 years ago
parent d4b41f691e
commit 1b041a92f4
  1. 38
      .circleci/config.yml

@ -104,13 +104,13 @@ jobs:
keys: keys:
- dependency-cache-{{ checksum "package-lock.json" }} - 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
#- dependency-cache- - dependency-cache-
- run: - run:
name: Install npm 6 + deps via npm name: Install npm 6 + deps via npm
command: | command: |
sudo npm install -g npm@6.1.0 && npm install sudo npm install -g npm@6.1.0 && npm install
- save_cache: - save_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
paths: paths:
- node_modules - node_modules
@ -135,7 +135,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: build:dist name: build:dist
command: npm run dist command: npm run dist
@ -154,7 +154,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: build:dist name: build:dist
command: npm run doc command: npm run doc
@ -169,7 +169,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: 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
@ -188,7 +188,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Test name: Test
command: npm run lint command: npm run lint
@ -199,7 +199,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Test name: Test
command: npx nsp check command: npx nsp check
@ -210,7 +210,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -231,7 +231,7 @@ jobs:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -247,7 +247,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -268,7 +268,7 @@ jobs:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -284,7 +284,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- run: - run:
@ -301,7 +301,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- restore_cache: - restore_cache:
@ -328,7 +328,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache: - restore_cache:
key: build-cache-{{ .Revision }} key: build-cache-{{ .Revision }}
- restore_cache: - restore_cache:
@ -351,7 +351,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: test:coverage name: test:coverage
command: npm run test:coverage command: npm run test:coverage
@ -369,7 +369,7 @@ jobs:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: dependency-cache- key: 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
@ -388,7 +388,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: 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
@ -412,7 +412,7 @@ jobs:
name: Install firefox name: Install firefox
command: ./.circleci/scripts/firefox-install.sh command: ./.circleci/scripts/firefox-install.sh
- restore_cache: - restore_cache:
key: dependency-cache- key: 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
@ -431,7 +431,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: dependency-cache- key: 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

Loading…
Cancel
Save