telegram-shop/.gitea/workflows/dev.yaml

31 lines
692 B
YAML

name: "Telegram Shop Bot CI [DEV]"
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
lint:
runs-on: ubuntu:latest # Запуск на Ubuntu
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js 22
run: |
# Устанавливаем 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: |
npm install
- name: Run lint
run: |
npm run lint