|
|
@ -3,13 +3,16 @@ version: 2.1 |
|
|
workflows: |
|
|
workflows: |
|
|
std: |
|
|
std: |
|
|
jobs: |
|
|
jobs: |
|
|
- yarn1 |
|
|
|
|
|
|
|
|
- yarn |
|
|
- lint: |
|
|
- lint: |
|
|
requires: |
|
|
requires: |
|
|
- yarn1 |
|
|
|
|
|
|
|
|
- yarn |
|
|
|
|
|
- test: |
|
|
|
|
|
requires: |
|
|
|
|
|
- yarn |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
yarn1: |
|
|
|
|
|
|
|
|
yarn: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.10.1 |
|
|
- image: cimg/node:14.10.1 |
|
|
steps: |
|
|
steps: |
|
|
@ -33,4 +36,14 @@ jobs: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
- run: yarn lint |
|
|
- run: yarn lint |
|
|
- run: yarn format:check |
|
|
|
|
|
|
|
|
- run: yarn format:check |
|
|
|
|
|
|
|
|
|
|
|
test: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.10.1 |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
|
|
|
- run: yarn test:ci |