|
|
@ -13,17 +13,6 @@ globals: |
|
|
password: $DOCKERHUB_PASSWORD |
|
|
password: $DOCKERHUB_PASSWORD |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup: |
|
|
|
|
|
- &install-cache |
|
|
|
|
|
restore_cache: |
|
|
|
|
|
keys: |
|
|
|
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- &lint-cache |
|
|
|
|
|
restore_cache: |
|
|
|
|
|
keys: |
|
|
|
|
|
- npm-v1-lint-{{ .BuildNum }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
commands: |
|
|
commands: |
|
|
init: |
|
|
init: |
|
|
description: Setup the environment |
|
|
description: Setup the environment |
|
|
@ -70,7 +59,6 @@ jobs: |
|
|
- *docker-config |
|
|
- *docker-config |
|
|
steps: |
|
|
steps: |
|
|
- init |
|
|
- init |
|
|
- *lint-cache |
|
|
|
|
|
- run: |
|
|
- run: |
|
|
name: Check files format |
|
|
name: Check files format |
|
|
command: yarn format:check |
|
|
command: yarn format:check |
|
|
@ -79,12 +67,6 @@ jobs: |
|
|
name: Lint files |
|
|
name: Lint files |
|
|
command: yarn lint |
|
|
command: yarn lint |
|
|
|
|
|
|
|
|
- save_cache: |
|
|
|
|
|
name: Save linted files |
|
|
|
|
|
key: npm-v1-lint-{{ .BuildNum }} |
|
|
|
|
|
paths: |
|
|
|
|
|
- src |
|
|
|
|
|
|
|
|
|
|
|
# Run CI tests |
|
|
# Run CI tests |
|
|
test-ci: |
|
|
test-ci: |
|
|
docker: |
|
|
docker: |
|
|
|