From 1a52b8d93278a2fab0d274b033ced775ab829912 Mon Sep 17 00:00:00 2001 From: Ivan Kabir Date: Tue, 2 Jul 2024 12:23:20 +0300 Subject: [PATCH] fix: debug --- .github/workflows/publish.yml | 24 ++++++++++--------- .../components/controls/base-host-input.jsx | 3 ++- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a7f289980..f3f73e56d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,15 +1,17 @@ name: NPM publish on: - workflow_dispatch: - inputs: - versionType: - type: choice - description: Version Type - required: true - options: - - patch - - minor - - major + pull_request: + branches: [ master ] + # workflow_dispatch: + # inputs: + # versionType: + # type: choice + # description: Version Type + # required: true + # options: + # - patch + # - minor + # - major permissions: contents: write jobs: @@ -28,7 +30,7 @@ jobs: - run: npm run build - run: git config --global user.email "y-infra@yandex.ru" - run: git config --global user.name "y-infra" - - run: npm run release -- --release-as ${{ github.event.inputs.versionType }} + - run: npm run release -- --release-as patch - run: npm publish --dry-run - run: git push --follow-tags --dry-run env: diff --git a/lib/static/components/controls/base-host-input.jsx b/lib/static/components/controls/base-host-input.jsx index dc3385bf1..ac8edb06a 100644 --- a/lib/static/components/controls/base-host-input.jsx +++ b/lib/static/components/controls/base-host-input.jsx @@ -4,6 +4,7 @@ import React, {Component} from 'react'; import PropTypes from 'prop-types'; import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; +import { Input } from '@gravity-ui/uikit'; import * as actions from '../../modules/actions'; class BaseHostInput extends Component { @@ -19,7 +20,7 @@ class BaseHostInput extends Component { render() { return ( -