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