Обновить .gitea/workflows/dev.yaml
Some checks failed
Telegram Shop Bot CI [DEV] / lint (push) Has been cancelled

This commit is contained in:
NW 2024-11-15 00:32:22 +00:00
parent eae051e32b
commit 73cf4b339e

View File

@ -25,7 +25,7 @@ jobs:
echo "Клонируем репозиторий" echo "Клонируем репозиторий"
git clone https://${{ env.GITEA_HOST }}/Telegram-Market/telegram-shop.git /workspace/Telegram-Market/telegram-shop git clone https://${{ env.GITEA_HOST }}/Telegram-Market/telegram-shop.git /workspace/Telegram-Market/telegram-shop
cd /workspace/Telegram-Market/telegram-shop cd /workspace/Telegram-Market/telegram-shop
git checkout 2d36bc514fa832c8c6b538631537dfb88a1ac6ca git checkout 3b112d891e4c1f06c8f1a4141d290705712bb4d8
- name: Set up Node.js 22 - name: Set up Node.js 22
run: | run: |
@ -39,6 +39,13 @@ jobs:
echo "Устанавливаем зависимости" echo "Устанавливаем зависимости"
npm install npm install
- name: Initialize ESLint configuration
run: |
echo "Инициализируем конфигурацию ESLint"
if [ ! -f .eslintrc.json ]; then
npm init @eslint/config
fi
- name: Run lint - name: Run lint
run: | run: |
echo "Запуск линтинга" echo "Запуск линтинга"