File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v3
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : ' 18'
21+
22+ - name : Build frontend
23+ run : |
24+ cd frontend
25+ npm install
26+ npm run build
27+
28+ - name : Build backend
29+ run : |
30+ cd backend
31+ npm install
32+ npx tsc
33+
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " echo \" Error: no test specified\" && exit 1" ,
8- "start" :" npx tsc && node dist/index.js"
8+ "start" :" npx tsc && node dist/index.js"
99 },
1010 "keywords" : [],
1111 "author" : " " ,
You can’t perform that action at this time.
0 commit comments