Compare commits
11 Commits
feature/do
...
demo
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e8a21ffa0 | |||
| 533296c471 | |||
| e90a361d4b | |||
| 3b112d891e | |||
| 43d84efc3e | |||
| 30a9b12e60 | |||
|
|
a3bde60b87 | ||
|
|
7825b801a0 | ||
|
|
6de9ef1aa9 | ||
|
|
893ac470c3 | ||
|
|
40400ee2b0 |
33
.gitea/workflows/demo.yaml
Normal file
33
.gitea/workflows/demo.yaml
Normal 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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user