File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed
Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Backend CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ defaults :
14+ run :
15+ working-directory : ./frontend
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - name : Use Node.js 22
21+ uses : actions/setup-node@v3
22+ with :
23+ node-version : 22
24+
25+ - name : Install dependencies
26+ run : npm install
27+
28+ - name : Check types
29+ run : npm run type-check
30+
31+ - name : Build Express app
32+ run : npm run build
Original file line number Diff line number Diff line change 1- name : CI
1+ name : Frontend CI
22
33on :
44 push :
1010 build :
1111 runs-on : ubuntu-latest
1212
13+ defaults :
14+ run :
15+ working-directory : ./frontend
16+
1317 steps :
1418 - uses : actions/checkout@v3
19+
1520 - name : Use Node.js 16
1621 uses : actions/setup-node@v3
1722 with :
Original file line number Diff line number Diff line change 22 "scripts" : {
33 "build" : " npx tsc" ,
44 "start" : " node dist/index.js" ,
5- "dev" : " nodemon src/index.ts"
5+ "dev" : " nodemon src/index.ts" ,
6+ "type-check" : " tsc --noemit"
67 },
78 "dependencies" : {
89 "dotenv" : " ^16.4.5" ,
You can’t perform that action at this time.
0 commit comments