chore(ci): break cache

This commit is contained in:
Daniel Imhoff
2018-10-08 15:34:51 -05:00
parent 885d511fe6
commit 28269f4011

View File

@ -3,19 +3,19 @@ version: 2
aliases: aliases:
- &restore-cache - &restore-cache
keys: keys:
- dependency-cache-{{ checksum "package.json" }} - dependency-cache-{{ checksum "package.json" }}-2
- &save-cache - &save-cache
key: dependency-cache-{{ checksum "package.json" }} key: dependency-cache-{{ checksum "package.json" }}-2
paths: paths:
- node_modules - node_modules
- &restore-cache-core - &restore-cache-core
keys: keys:
- dependency-cache-{{ checksum "core/package.json" }} - dependency-cache-{{ checksum "core/package.json" }}-2
- &save-cache-core - &save-cache-core
key: dependency-cache-{{ checksum "core/package.json" }} key: dependency-cache-{{ checksum "core/package.json" }}-2
paths: paths:
- core/node_modules - core/node_modules
@ -47,11 +47,11 @@ jobs:
- restore_cache: *restore-cache-core - restore_cache: *restore-cache-core
- run: - run:
command: npm install command: npm install
working_directory: /tmp/working_directory/core working_directory: /tmp/workspace/core
- save_cache: *save-cache-core - save_cache: *save-cache-core
- run: - run:
command: npm run build # --max-workers 1 --debug command: npm run build # --max-workers 1 --debug
working_directory: /tmp/working_directory/core working_directory: /tmp/workspace/core
- persist_to_workspace: - persist_to_workspace:
root: /tmp/workspace root: /tmp/workspace
paths: paths:
@ -65,7 +65,7 @@ jobs:
at: /tmp/workspace at: /tmp/workspace
- run: - run:
command: npm run lint command: npm run lint
working_directory: /tmp/working_directory/core working_directory: /tmp/workspace/core
test-core-spec: test-core-spec:
<<: *defaults <<: *defaults
@ -75,7 +75,7 @@ jobs:
at: /tmp/workspace at: /tmp/workspace
- run: - run:
command: npm run test.spec command: npm run test.spec
working_directory: /tmp/working_directory/core working_directory: /tmp/workspace/core
test-core-treeshake: test-core-treeshake:
<<: *defaults <<: *defaults
@ -85,7 +85,7 @@ jobs:
at: /tmp/workspace at: /tmp/workspace
- run: - run:
command: npm run test.treeshake command: npm run test.treeshake
working_directory: /tmp/working_directory/core working_directory: /tmp/workspace/core
workflows: workflows:
version: 2 version: 2