|
|
@ -5,7 +5,6 @@ jobs: |
|
|
- image: cimg/node:14.10.1 |
|
|
- image: cimg/node:14.10.1 |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
|
|
|
|
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
name: restore yarn package cache |
|
|
name: restore yarn package cache |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
@ -15,7 +14,6 @@ jobs: |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |
|
|
|
|
|
|
|
|
lint: |
|
|
lint: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.10.1 |
|
|
- image: cimg/node:14.10.1 |
|
|
@ -24,13 +22,12 @@ jobs: |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
name: restore yarn package cache |
|
|
name: restore yarn package cache |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
- run: yarn lint && yarn format:check |
|
|
|
|
|
|
|
|
- run: yarn lint && yarn format |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
name: save yarn package cache |
|
|
name: save yarn package cache |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- ./node_modules |
|
|
unit-test: |
|
|
unit-test: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.10.1 |
|
|
- image: cimg/node:14.10.1 |
|
|
@ -45,9 +42,6 @@ jobs: |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v2{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workflows: |
|
|
workflows: |
|
|
build_and_test: |
|
|
build_and_test: |
|
|
jobs: |
|
|
jobs: |
|
|
@ -58,3 +52,6 @@ workflows: |
|
|
- lint: |
|
|
- lint: |
|
|
requires: |
|
|
requires: |
|
|
- build |
|
|
- build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|