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:
parent
ee878c66ce
commit
5cf2ff2ea3
1 changed files with 7 additions and 7 deletions
|
@ -29,9 +29,8 @@ aliases:
|
||||||
- &yarn_cache_key
|
- &yarn_cache_key
|
||||||
yarn-sha-{{ checksum "yarn.lock" }}
|
yarn-sha-{{ checksum "yarn.lock" }}
|
||||||
- &restore_repo
|
- &restore_repo
|
||||||
restore_cache:
|
attach_workspace:
|
||||||
keys:
|
at: ~/verdaccio
|
||||||
- *repo_key
|
|
||||||
- &ignore_non_dev_branches
|
- &ignore_non_dev_branches
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
|
@ -54,7 +53,6 @@ jobs:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
<<: *default_executor
|
<<: *default_executor
|
||||||
steps:
|
steps:
|
||||||
- *restore_repo
|
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: *base_config_key
|
key: *base_config_key
|
||||||
|
@ -88,10 +86,10 @@ jobs:
|
||||||
- ~/.yarn
|
- ~/.yarn
|
||||||
- ~/.cache/yarn
|
- ~/.cache/yarn
|
||||||
- node_modules
|
- node_modules
|
||||||
- save_cache:
|
- persist_to_workspace:
|
||||||
key: *repo_key
|
root: ~/verdaccio
|
||||||
paths:
|
paths:
|
||||||
- ~/verdaccio
|
- ./*
|
||||||
|
|
||||||
test_node6:
|
test_node6:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
@ -153,6 +151,8 @@ jobs:
|
||||||
<<: *default_executor
|
<<: *default_executor
|
||||||
steps:
|
steps:
|
||||||
- *restore_repo
|
- *restore_repo
|
||||||
|
- restore_cache:
|
||||||
|
key: *base_config_key
|
||||||
- run:
|
- run:
|
||||||
name: Test size
|
name: Test size
|
||||||
command: yarn test:size
|
command: yarn test:size
|
||||||
|
|
Loading…
Reference in a new issue