|
|
@ -67,7 +67,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Install deps via npm |
|
|
|
name: Install deps via npm |
|
|
|
command: npm install |
|
|
|
command: npm install |
|
|
@ -75,6 +75,10 @@ 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: |
|
|
@ -97,7 +101,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: build:dist |
|
|
|
name: build:dist |
|
|
|
command: npm run dist |
|
|
|
command: npm run dist |
|
|
@ -116,7 +120,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- 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 |
|
|
@ -135,7 +139,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Test |
|
|
|
name: Test |
|
|
|
command: npm run lint |
|
|
|
command: npm run lint |
|
|
@ -146,7 +150,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -162,7 +166,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -179,7 +183,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
key: build-cache-{{ .Revision }} |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
@ -203,7 +207,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: test:coverage |
|
|
|
name: test:coverage |
|
|
|
command: npm run test:coverage |
|
|
|
command: npm run test:coverage |
|
|
@ -225,7 +229,7 @@ jobs: |
|
|
|
&& sudo mv /usr/bin/firefox /usr/bin/firefox-old |
|
|
|
&& sudo mv /usr/bin/firefox /usr/bin/firefox-old |
|
|
|
&& sudo ln -s /opt/firefox58/firefox /usr/bin/firefox |
|
|
|
&& sudo ln -s /opt/firefox58/firefox /usr/bin/firefox |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- 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 |
|
|
@ -244,7 +248,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- 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 |
|
|
@ -272,7 +276,7 @@ jobs: |
|
|
|
&& sudo mv /usr/bin/firefox /usr/bin/firefox-old |
|
|
|
&& sudo mv /usr/bin/firefox /usr/bin/firefox-old |
|
|
|
&& sudo ln -s /opt/firefox58/firefox /usr/bin/firefox |
|
|
|
&& sudo ln -s /opt/firefox58/firefox /usr/bin/firefox |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- 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 |
|
|
@ -291,7 +295,7 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
key: dependency-cache-{{ checksum "package-lock.json" }} |
|
|
|
key: dependency-cache-{{ .Revision }} |
|
|
|
- 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 |
|
|
|