Обновить .gitea/workflows/demo.yaml
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Failing after 51s

This commit is contained in:
NW 2024-11-14 21:28:42 +00:00
parent 32a99119a1
commit fc9ddac1c3

View File

@ -1,13 +1,33 @@
name: "Telegram Shop Bot CI [DEMO]" name: "Telegram Shop Bot CI [DEMO]"
on: on:
push: push:
branches: ["demo"] branches:
- demo
pull_request: pull_request:
branches: ["demo"] branches:
- demo
jobs: jobs:
lint: lint:
runs-on: node:22-alpine runs-on: ubuntu-latest # Запуск на Ubuntu
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 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