Обновить .gitea/workflows/dev.yaml
Some checks failed
Telegram Shop Bot CI [DEV] / lint (push) Failing after 15s
Some checks failed
Telegram Shop Bot CI [DEV] / lint (push) Failing after 15s
This commit is contained in:
parent
ece9fdcc20
commit
ab65e53659
@ -8,31 +8,38 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITEA_HOST: git.softuniq.eu
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest # Запуск на Ubuntu
|
runs-on: ubuntu-latest # Запуск на Ubuntu
|
||||||
steps:
|
steps:
|
||||||
- name: Check DNS Resolution
|
- name: Check DNS Resolution
|
||||||
run: curl -I https://git.softuniq.eu
|
run: |
|
||||||
|
echo "Проверка DNS-резолвинга"
|
||||||
|
curl -I https://${{ env.GITEA_HOST }}
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository-url: https://git.softuniq.eu/Telegram-Market/telegram-shop
|
repository: https://${{ env.GITEA_HOST }}/Telegram-Market/telegram-shop
|
||||||
|
ref: 3b112d891e4c1f06c8f1a4141d290705712bb4d8
|
||||||
|
path: /workspace/Telegram-Market/telegram-shop
|
||||||
|
|
||||||
- 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 https://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
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
echo "Устанавливаем зависимости"
|
echo "Устанавливаем зависимости"
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: |
|
run: |
|
||||||
echo "Запуск линтинга"
|
echo "Запуск линтинга"
|
||||||
npm run lint
|
npm run lint
|
Loading…
Reference in New Issue
Block a user