Удалить .gitea/workflows/demo.yaml
Some checks are pending
Telegram Shop Bot CI [PROD] / lint (push) Waiting to run
Some checks are pending
Telegram Shop Bot CI [PROD] / lint (push) Waiting to run
This commit is contained in:
parent
798df46c80
commit
b8b9d27738
@ -1,33 +0,0 @@
|
|||||||
name: "Telegram Shop Bot CI [DEMO]"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- demo
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- demo
|
|
||||||
|
|
||||||
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
|
|
Loading…
Reference in New Issue
Block a user