|
|
|
@ -20,7 +20,7 @@ jobs: |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} |
|
|
|
|
|
|
|
|
|
|
|
artifact-save: |
|
|
|
docker: |
|
|
|
- image: circleci/node:dubnium-browsers |
|
|
|
@ -32,17 +32,20 @@ jobs: |
|
|
|
- dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} |
|
|
|
# fallback to using the latest cache if no exact match is found |
|
|
|
- dependencies- |
|
|
|
- run: cp ./dist /tmp/server -r |
|
|
|
- run: |
|
|
|
name: Copy deployment artifacts to workspace |
|
|
|
command: | |
|
|
|
cp ./dist /tmp/server -r |
|
|
|
- store_artifacts: |
|
|
|
path: /tmp/server |
|
|
|
path: /tmp/server |
|
|
|
- persist_to_workspace: |
|
|
|
root: /tmp |
|
|
|
paths: |
|
|
|
root: /tmp |
|
|
|
paths: |
|
|
|
- server |
|
|
|
- save_cache: |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
key: v1-dependencies-{{ checksum "package.json" }} |
|
|
|
paths: |
|
|
|
- node_modules |
|
|
|
key: v1-dependencies-{{ checksum "package.json" }} |
|
|
|
|
|
|
|
netlifly-deploy: |
|
|
|
docker: |
|
|
|
|