0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

ci: use CircleCI workspaces to share data among steps (#1123)

This commit is contained in:
Sergio Hg 2018-11-17 11:54:20 +01:00 committed by Juan Picado @jotadeveloper
parent ee878c66ce
commit 5cf2ff2ea3

View file

@ -29,9 +29,8 @@ aliases:
- &yarn_cache_key
yarn-sha-{{ checksum "yarn.lock" }}
- &restore_repo
restore_cache:
keys:
- *repo_key
attach_workspace:
at: ~/verdaccio
- &ignore_non_dev_branches
filters:
tags:
@ -54,7 +53,6 @@ jobs:
<<: *defaults
<<: *default_executor
steps:
- *restore_repo
- checkout
- restore_cache:
key: *base_config_key
@ -88,10 +86,10 @@ jobs:
- ~/.yarn
- ~/.cache/yarn
- node_modules
- save_cache:
key: *repo_key
- persist_to_workspace:
root: ~/verdaccio
paths:
- ~/verdaccio
- ./*
test_node6:
<<: *defaults
@ -153,6 +151,8 @@ jobs:
<<: *default_executor
steps:
- *restore_repo
- restore_cache:
key: *base_config_key
- run:
name: Test size
command: yarn test:size