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:
88 environment :
99 MOCHA_FILE : mocha-test-results/test-results.xml
1010
11- restore_cache : &restore_yarn_cache
11+ restore_yarn_cache : &restore_yarn_cache
1212 restore_cache :
1313 keys :
1414 - v1-yarn-cache-{{ checksum "yarn.lock" }}
1515
16- save_cache : &save_yarn_cache
16+ save_yarn_cache : &save_yarn_cache
1717 save_cache :
1818 paths :
1919 - ~/.cache/yarn
2020 key : v1-yarn-cache-{{ checksum "yarn.lock" }}
2121
22- restore_cache : &restore_npm_cache
22+ restore_npm_cache : &restore_npm_cache
2323 restore_cache :
2424 keys :
2525 - v1-dependencies-{{ checksum "yarn.lock" }}
2626
27- save_cache : &save_npm_cache
27+ save_npm_cache : &save_npm_cache
2828 save_cache :
2929 paths :
3030 - node_modules
6767 steps :
6868 - checkout
6969 - << : *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
7272 - run : npm publish
7373
7474
@@ -89,13 +89,17 @@ workflows:
8989 pkg :
9090 jobs :
9191 - lint :
92- filters :
92+ filters : &base_filters
9393 branches :
9494 ignore : gh-pages
95+ tags :
96+ only : /^v[0-9]+\.[0-9]+\.[0-9]+$/
9597
9698 - tests :
9799 requires :
98100 - lint
101+ filters :
102+ << : *base_filters
99103
100104 - publish :
101105 requires :
You can’t perform that action at this time.
0 commit comments