|
|
@ -101,7 +101,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Install deps via npm |
|
|
|
name: Install deps via npm |
|
|
|
command: npm install |
|
|
|
command: npm install |
|
|
@ -109,10 +109,6 @@ jobs: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
paths: |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
- node_modules |
|
|
|
- save_cache: |
|
|
|
|
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
|
|
|
|
paths: |
|
|
|
|
|
|
|
- node_modules |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prep-deps-firefox: |
|
|
|
prep-deps-firefox: |
|
|
|
docker: |
|
|
|
docker: |
|
|
@ -133,7 +129,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: build:dist |
|
|
|
name: build:dist |
|
|
|
command: npm run dist |
|
|
|
command: npm run dist |
|
|
@ -152,7 +148,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: build:dist |
|
|
|
name: build:dist |
|
|
|
command: npm run doc |
|
|
|
command: npm run doc |
|
|
@ -167,7 +163,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
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 |
|
|
@ -186,7 +182,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Test |
|
|
|
name: Test |
|
|
|
command: npm run lint |
|
|
|
command: npm run lint |
|
|
@ -197,7 +193,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Test |
|
|
|
name: Test |
|
|
|
command: npx nsp check |
|
|
|
command: npx nsp check |
|
|
@ -208,7 +204,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -229,7 +225,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-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -245,7 +241,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -266,7 +262,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-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -282,7 +278,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -299,7 +295,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
@ -326,7 +322,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
@ -349,7 +345,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
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 |
|
|
@ -367,7 +363,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-{{ .Revision }} |
|
|
|
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 |
|
|
@ -386,7 +382,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
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 |
|
|
@ -410,7 +406,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-{{ .Revision }} |
|
|
|
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 |
|
|
@ -429,7 +425,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
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 |
|
|
|