telegram-shop/.gitea/workflows/prod.yaml
NW 1466d9352e
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Has been cancelled
Обновить .gitea/workflows/prod.yaml
2024-11-14 21:26:31 +00:00

33 lines
844 B
YAML

name: "Telegram Shop Bot CI [PROD]"
on:
push:
branches:
- prod
pull_request:
branches:
- prod
jobs:
lint:
runs-on: ubuntu-latest # Запуск на Ubuntu
steps:
- 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