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

This commit is contained in:
NW 2024-11-15 20:16:46 +00:00
parent 325c216d69
commit c257546de2

View File

@ -9,7 +9,7 @@ on:
- dev - dev
env: env:
GITEA_HOST: gitea:3000 GITEA_HOST: 192.168.2.29:3000
jobs: jobs:
lint: lint:
@ -18,19 +18,19 @@ jobs:
- name: Check DNS Resolution - name: Check DNS Resolution
run: | run: |
echo "Проверка DNS-резолвинга" echo "Проверка DNS-резолвинга"
curl -I https://${{ env.GITEA_HOST }} curl -I http://${{ env.GITEA_HOST }}
- name: Checkout code - name: Checkout code
run: | run: |
echo "Клонируем репозиторий" echo "Клонируем репозиторий"
git clone https://${{ env.GITEA_HOST }}/Telegram-Market/telegram-shop.git /workspace/Telegram-Market/telegram-shop git clone http://${{ 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 2d36bc514fa832c8c6b538631537dfb88a1ac6ca
- name: Set up Node.js 22 - name: Set up Node.js 22
run: | run: |
echo "Устанавливаем Node.js 22" echo "Устанавливаем Node.js 22"
curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash - curl -sL http://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs sudo apt-get install -y nodejs
node -v # Проверка установленной версии Node.js node -v # Проверка установленной версии Node.js