From 6be1325cb3c16d9bd3660386e6a92db2c6371b21 Mon Sep 17 00:00:00 2001 From: Erik Kieckhafer Date: Tue, 14 Apr 2020 15:48:36 -0700 Subject: [PATCH] feat: enable semantic-release Signed-off-by: Erik Kieckhafer --- .circleci/config.yml | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 171df7e..6d51582 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,22 +18,7 @@ jobs: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - # deploy: - # docker: - # - image: node:12 - - # steps: - # - checkout - - # - restore_cache: - # keys: - # - v1-dependencies-{{ checksum "package.json" }} - # # fallback to using the latest cache if no exact match is found - # - v1-dependencies- - - # - run: npx semantic-release - - lint: + deploy: docker: - image: node:12 @@ -46,9 +31,9 @@ jobs: # fallback to using the latest cache if no exact match is found - v1-dependencies- - - run: npm run lint + - run: npx semantic-release - test: + lint: docker: - image: node:12 @@ -61,7 +46,7 @@ jobs: # fallback to using the latest cache if no exact match is found - v1-dependencies- - - run: npm run test + - run: npm run lint workflows: version: 2 @@ -72,14 +57,10 @@ workflows: - lint: requires: - build - - test: + - deploy: + context: reaction-publish-semantic-release requires: - - build - # - deploy: - # context: reaction-publish-semantic-release - # requires: - # - lint - # - test - # filters: - # branches: - # only: trunk + - lint + filters: + branches: + only: trunk