11 Commits

Author SHA1 Message Date
NW
5e8a21ffa0 Удалить .gitea/workflows/prod.yaml
Some checks failed
Telegram Shop Bot CI [DEMO] / lint (push) Has been cancelled
2024-11-15 02:15:19 +00:00
NW
533296c471 Удалить .gitea/workflows/dev.yaml
Some checks are pending
Telegram Shop Bot CI [DEMO] / lint (push) Waiting to run
2024-11-15 02:15:05 +00:00
NW
e90a361d4b Обновить package.json
Some checks failed
Telegram Shop Bot CI [DEMO] / lint (push) Failing after 56s
2024-11-15 00:02:24 +00:00
NW
3b112d891e Обновить .gitea/workflows/demo.yaml
Some checks failed
Telegram Shop Bot CI [DEMO] / lint (push) Failing after 1m26s
2024-11-14 21:28:56 +00:00
NW
43d84efc3e Обновить .gitea/workflows/dev.yaml
Some checks failed
Telegram Shop Bot CI [DEMO] / lint (push) Has been cancelled
2024-11-14 21:27:58 +00:00
NW
30a9b12e60 Обновить .gitea/workflows/prod.yaml
Some checks are pending
Telegram Shop Bot CI [DEMO] / lint (push) Waiting to run
2024-11-14 21:26:17 +00:00
1323ed5
a3bde60b87 Merge pull request 'feature/pipelines' (#11) from feature/pipelines into main
Some checks are pending
Telegram Shop Bot CI [PROD] / lint (push) Waiting to run
Telegram Shop Bot CI [DEMO] / lint (push) Waiting to run
Telegram Shop Bot CI [DEV] / lint (push) Waiting to run
2024-11-14 14:40:00 +00:00
Artyom Ashirov
7825b801a0 short names for workflows 2024-11-14 17:38:18 +03:00
Artyom Ashirov
6de9ef1aa9 workflows folder 2024-11-14 17:35:55 +03:00
Artyom Ashirov
893ac470c3 pipelines initial 2024-11-14 17:31:29 +03:00
1323ed5
40400ee2b0 Merge pull request 'docker' (#10) from feature/docker into main 2024-11-14 13:48:45 +00:00
2 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
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

View File

@@ -4,7 +4,8 @@
"type": "module",
"scripts": {
"start": "node src/index.js",
"dev": "nodemon src/index.js"
"dev": "nodemon src/index.js",
"lint": "eslint ."
},
"dependencies": {
"axios": "^1.7.7",
@@ -18,7 +19,8 @@
"node-telegram-bot-api": "^0.64.0",
"sqlite3": "^5.1.6",
"tiny-secp256k1": "^2.2.3",
"tronweb": "^5.3.2"
"tronweb": "^5.3.2",
"eslint": "^8.0.0"
},
"devDependencies": {
"nodemon": "^3.0.2"