Skip to content

Commit

Permalink
fix: temporarily remove auto-deploy (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
jye-sf authored Jul 29, 2022
1 parent 4da770a commit a5ba18e
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit a5ba18e

Please # to comment.