Skip to content

Commit a60a4db

Browse files
author
VuXfi
committed
add build script & gh ci build
1 parent b5fd942 commit a60a4db

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/commit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
node-version: '22.x'
1515
registry-url: 'https://registry.npmjs.org'
1616

17-
# - run: npm i && npm run test
18-
17+
- run: npm i && npm run build
18+
- run: cd ./dist
19+
1920
# resolve version with short commit hash
2021
- run: |
2122
set -x

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"compile:backend": "tsc -p src/tsconfig.json",
1212
"watch:backend": "tsc -w -p src/tsconfig.json",
1313
"copy:backend": "node copy-backend.js",
14-
"build:backend": "npm run copy:backend && npm run compile:backend"
14+
"build:backend": "npm run copy:backend && npm run compile:backend",
15+
"build": "npm run copy:backend && npm run compile:backend && npm run build:assets"
1516
},
1617
"keywords": [],
1718
"author": "",

0 commit comments

Comments
 (0)