|
|
@ -10,13 +10,13 @@ jobs: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
keys: |
|
|
keys: |
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- npm-v1-dependencies |
|
|
|
|
|
|
|
|
- npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- npm-v2-dependencies |
|
|
- run: yarn install |
|
|
- run: yarn install |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
paths: |
|
|
paths: |
|
|
- node_modules |
|
|
- node_modules |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
yarnlint: |
|
|
yarnlint: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:lts |
|
|
- image: cimg/node:lts |
|
|
@ -27,14 +27,14 @@ jobs: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
keys: |
|
|
keys: |
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- npm-v1-dependencies |
|
|
|
|
|
|
|
|
- npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- npm-v2-dependencies |
|
|
- run: yarn lint |
|
|
- run: yarn lint |
|
|
- run: yarn format:check |
|
|
- run: yarn format:check |
|
|
- save_cache: |
|
|
- save_cache: |
|
|
paths: |
|
|
paths: |
|
|
- node_modules |
|
|
- node_modules |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
|
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
unittest: |
|
|
unittest: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:lts |
|
|
- image: cimg/node:lts |
|
|
@ -42,7 +42,7 @@ jobs: |
|
|
username: henriboulnois |
|
|
username: henriboulnois |
|
|
password: $DOCKERHUB_PASSWORD |
|
|
password: $DOCKERHUB_PASSWORD |
|
|
steps: |
|
|
steps: |
|
|
- run: yarn test:ci |
|
|
|
|
|
|
|
|
- run: yarn test |
|
|
|
|
|
|
|
|
workflows: |
|
|
workflows: |
|
|
build: |
|
|
build: |
|
|
|