|
|
@ -1,6 +1,6 @@ |
|
|
version: 2.1 |
|
|
version: 2.1 |
|
|
jobs: |
|
|
jobs: |
|
|
install: |
|
|
|
|
|
|
|
|
install: &shared_docker |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run |
|
|
- image: cimg/node:14.10.1 # the primary container, where your job's commands are run |
|
|
auth: |
|
|
auth: |
|
|
@ -13,6 +13,6 @@ jobs: |
|
|
keys : |
|
|
keys : |
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
lint: |
|
|
lint: |
|
|
steps: |
|
|
|
|
|
- run: yarn lint && yarn format:check |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<<: *shared_docker |
|
|
|
|
|
steps: |
|
|
|
|
|
- run: yarn lint && yarn format:check |