Skip to content

Commit 2fe8232

Browse files
fix: deploy file and add scripts in package.json
1 parent f32fbed commit 2fe8232

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
git pull origin main
3434
npm install
3535
npm run build
36-
pm2 restart void || pm2 start dist/index.js --name void
36+
pm2 restart origin || pm2 start dist/index.js --name origin
3737
pm2 save
3838
3939
EOF

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"main": "dist/index.js",
66
"type": "module",
77
"scripts": {
8-
"dev": "tsx src/index.ts",
8+
"dev": "tsx watch src/index.ts",
99
"build": "tsc",
10-
"start": "node dist/index.js"
10+
"start": "node dist/index.js",
11+
"test:client": "tsx src/test-client.ts"
1112
},
1213
"keywords": [],
1314
"author": "",

0 commit comments

Comments
 (0)