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 "Запуск линтинга"