File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,23 @@ references:
8
8
environment :
9
9
MOCHA_FILE : mocha-test-results/test-results.xml
10
10
11
- restore_cache : &restore_yarn_cache
11
+ restore_yarn_cache : &restore_yarn_cache
12
12
restore_cache :
13
13
keys :
14
14
- v1-yarn-cache-{{ checksum "yarn.lock" }}
15
15
16
- save_cache : &save_yarn_cache
16
+ save_yarn_cache : &save_yarn_cache
17
17
save_cache :
18
18
paths :
19
19
- ~/.cache/yarn
20
20
key : v1-yarn-cache-{{ checksum "yarn.lock" }}
21
21
22
- restore_cache : &restore_npm_cache
22
+ restore_npm_cache : &restore_npm_cache
23
23
restore_cache :
24
24
keys :
25
25
- v1-dependencies-{{ checksum "yarn.lock" }}
26
26
27
- save_cache : &save_npm_cache
27
+ save_npm_cache : &save_npm_cache
28
28
save_cache :
29
29
paths :
30
30
- node_modules
67
67
steps :
68
68
- checkout
69
69
- << : *restore_npm_cache
70
- # - run: .circleci/check-tag.sh
71
- # - run: .circleci/export-api-key.sh
70
+ - run : .circleci/check-tag.sh
71
+ - run : .circleci/export-api-key.sh
72
72
- run : npm publish
73
73
74
74
@@ -89,13 +89,17 @@ workflows:
89
89
pkg :
90
90
jobs :
91
91
- lint :
92
- filters :
92
+ filters : &base_filters
93
93
branches :
94
94
ignore : gh-pages
95
+ tags :
96
+ only : /^v[0-9]+\.[0-9]+\.[0-9]+$/
95
97
96
98
- tests :
97
99
requires :
98
100
- lint
101
+ filters :
102
+ << : *base_filters
99
103
100
104
- publish :
101
105
requires :
You can’t perform that action at this time.
0 commit comments