diff --git a/.circleci/config.yml b/.circleci/config.yml index faef6d5f..5e0776cd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,14 @@ jobs: - run: npm install - run: npm test + build: + docker: + - image: circleci/node:10 + steps: + - checkout + - run: npm install + - run: npm run build + release: docker: - image: circleci/node:10 @@ -16,3 +24,18 @@ jobs: - run: npm install - run: npm run build - run: npx semantic-release + +workflows: + version: 2 + build_and_test: + jobs: + - test + - build + - hold: + type: approval + requires: + - test + - build + - release: + requires: + - hold