telegram-shop/.gitea/workflows/dev.yaml
NW 0f53b7ac33
Some checks failed
Telegram Shop Bot CI [DEV] / build-and-push (push) Failing after 11s
Обновить .gitea/workflows/dev.yaml
2024-11-14 23:30:36 +00:00

36 lines
935 B
YAML

name: "Telegram Shop Bot CI [DEV]"
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build-and-push:
runs-on: ubuntu-latest # Запуск на Ubuntu
steps:
- name: Check DNS Resolution
run: curl -I https://gitea:3000
- name: Checkout code
uses: actions/checkout@v3
- 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