|
|
@ -2,7 +2,7 @@ version: 2.1 |
|
|
jobs: |
|
|
jobs: |
|
|
install: |
|
|
install: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:9.5 |
|
|
|
|
|
|
|
|
- image: circleci/node:latest |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -16,7 +16,7 @@ jobs: |
|
|
- node_modules |
|
|
- node_modules |
|
|
test: |
|
|
test: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:9.5 |
|
|
|
|
|
|
|
|
- image: circleci/node:latest |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -27,7 +27,7 @@ jobs: |
|
|
command: yarn test |
|
|
command: yarn test |
|
|
prod-build: |
|
|
prod-build: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:9.5 |
|
|
|
|
|
|
|
|
- image: circleci/node:latest |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -47,7 +47,7 @@ jobs: |
|
|
- dist |
|
|
- dist |
|
|
deploy-netlify: |
|
|
deploy-netlify: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:9.5 |
|
|
|
|
|
|
|
|
- image: circleci/node:latest |
|
|
working_directory: ~/deploy-netlfify |
|
|
working_directory: ~/deploy-netlfify |
|
|
steps: |
|
|
steps: |
|
|
- attach_workspace: |
|
|
- attach_workspace: |
|
|
|