From 73cf4b339ec34b9305b1c007bb31b093dbeafc2e Mon Sep 17 00:00:00 2001 From: NW Date: Fri, 15 Nov 2024 00:32:22 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/dev.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/dev.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 56e09ee..b03c770 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -25,7 +25,7 @@ jobs: echo "Клонируем репозиторий" git clone https://${{ env.GITEA_HOST }}/Telegram-Market/telegram-shop.git /workspace/Telegram-Market/telegram-shop cd /workspace/Telegram-Market/telegram-shop - git checkout 2d36bc514fa832c8c6b538631537dfb88a1ac6ca + git checkout 3b112d891e4c1f06c8f1a4141d290705712bb4d8 - name: Set up Node.js 22 run: | @@ -39,6 +39,13 @@ jobs: echo "Устанавливаем зависимости" npm install + - name: Initialize ESLint configuration + run: | + echo "Инициализируем конфигурацию ESLint" + if [ ! -f .eslintrc.json ]; then + npm init @eslint/config + fi + - name: Run lint run: | echo "Запуск линтинга"