From e9911ccac6dcf799557e239dae5b600ab69c1dcd Mon Sep 17 00:00:00 2001 From: Pavan Kumar Sunkara Date: Fri, 7 Sep 2018 13:48:37 +0200 Subject: [PATCH] chore: Make sure tag gets tested on circleci --- .circleci/config.yml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d287868..87b7b76 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,25 @@ version: 2 + +aliases: + - &tag-filter + filters: + tags: + only: /^v.*/ + + - &test-workflow + <<: *tag-filter + requires: + - build + workflows: version: 2 build-test: jobs: - - build - - test-node4: - requires: - - build - - test-node6: - requires: - - build - - test-node8: - requires: - - build - - test-node10: - requires: - - build + - build: *tag-filter + - test-node4: *test-workflow + - test-node6: *test-workflow + - test-node8: *test-workflow + - test-node10: *test-workflow - deploy: requires: - build