telegram-shop/.gitea/workflows/dev.yaml
NW e966c09a32
Some checks failed
Telegram Shop Bot CI [DEV] / lint (push) Failing after 8s
Обновить .gitea/workflows/dev.yaml
2024-11-14 23:04:20 +00:00

37 lines
1.0 KiB
YAML

name: "Telegram Shop Bot CI [DEV]"
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
lint:
runs-on: ubuntu-latest # Запуск на Ubuntu
steps:
- name: Check DNS Resolution
run: curl -I https://git.softuniq.eu
- name: Checkout code
uses: |
git -c protocol.version=3 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 https://git.softuniq.eu/Telegram-Market/telegram-shop/
- name: Set up Node.js 22
run: |
echo "Устанавливаем Node.js 22"
curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v # Проверка установленной версии Node.js
- name: Install dependencies
run: |
echo "Устанавливаем зависимости"
npm install
- name: Run lint
run: |
echo "Запуск линтинга"
npm run lint