diff --git a/.circleci/config.yml b/.circleci/config.yml index 4bce236e..4d5f16ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,20 +1,10 @@ version: 2.1 -deploy_filters: &deploy_filters - filters: - branches: - ignore: /.*/ - tags: - # Trigger on tags that begin with `v` - only: /^v.*/ - - executors: node: docker: - image: circleci/node:14 - commands: save_yarn_cache: description: Save cache for future build @@ -53,30 +43,7 @@ jobs: name: Run unit tests command: yarn test - deploy: - executor: node - steps: - - checkout - - restore_yarn_cache - - run: - name: Install dependencies and build - command: yarn install --frozen-lockfile - - run: - name: Configure NPM authentication - command: npm config set "//registry.npmjs.org/:_authToken" "$NPM_AUTOMATION_TOKEN" - - run: - name: Publish package - command: yarn release:publish - workflows: build_and_test: jobs: - build - build_and_test_and_deploy: - jobs: - - build: - <<: *deploy_filters - - deploy: - <<: *deploy_filters - requires: - - build