Skip to content

Commit

Permalink
fix: temporarily remove auto-deploy (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jye-sf authored Jul 29, 2022
1 parent b115c95 commit dc6280f
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ version: 2.1

supported-eslint-versions: &supported-eslint-versions ["local", "7"]

deploy_filters: &deploy_filters
filters:
branches:
ignore: /.*/
tags:
# Trigger on tags that begin with `v`
only: /^v.*/

commands:
save_yarn_cache:
description: Save Yarn cache for future build
Expand Down Expand Up @@ -64,39 +56,10 @@ jobs:
name: Run unit tests
command: yarn test

deploy:
docker:
- image: circleci/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:
matrix:
parameters:
eslint-version: *supported-eslint-versions

build_and_test_and_deploy:
jobs:
- build:
<<: *deploy_filters
matrix:
parameters:
eslint-version: *supported-eslint-versions

- deploy:
<<: *deploy_filters
requires:
- build
eslint-version: *supported-eslint-versions

0 comments on commit dc6280f

Please sign in to comment.