11 Commits

Author SHA1 Message Date
NW
af2f0361bc Удалить .gitea/workflows/dev.yaml
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Has been cancelled
2024-11-15 02:14:30 +00:00
NW
b8b9d27738 Удалить .gitea/workflows/demo.yaml
Some checks are pending
Telegram Shop Bot CI [PROD] / lint (push) Waiting to run
2024-11-15 02:14:14 +00:00
NW
798df46c80 Обновить package.json
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Has been cancelled
2024-11-15 00:02:44 +00:00
NW
fc9ddac1c3 Обновить .gitea/workflows/demo.yaml
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Failing after 51s
2024-11-14 21:28:42 +00:00
NW
32a99119a1 Обновить .gitea/workflows/dev.yaml
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Has been cancelled
2024-11-14 21:27:39 +00:00
NW
1466d9352e Обновить .gitea/workflows/prod.yaml
Some checks failed
Telegram Shop Bot CI [PROD] / lint (push) Has been cancelled
2024-11-14 21:26:31 +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 [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

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"