File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 with :
2222 node-version : v20.11.0
2323
24- - name : Install depencies
25- run : yarn install
24+ - name : Init
25+ run : yarn install && yarn setup
2626
2727 - name : Lint
2828 run : yarn lint
Original file line number Diff line number Diff line change @@ -67,7 +67,29 @@ docker compose exec server yarn build
6767docker compose exec infra yarn build
6868```
6969
70- #### 静的検証
70+ #### テスト
71+
72+ - 一括
73+ ``` sh
74+ docker compose exec root yarn test
75+ ```
76+
77+ - クライアント
78+ ``` sh
79+ docker compose exec client yarn test
80+ ```
81+
82+ - サーバ
83+ ``` sh
84+ docker compose exec server yarn test
85+ ```
86+
87+ - インフラ
88+ ``` sh
89+ docker compose exec infra yarn test
90+ ```
91+
92+ #### リント
7193
7294- リントチェック
7395
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "dev" : " vite" ,
88 "build" : " vue-tsc -b && vite build" ,
9- "preview" : " vite preview"
9+ "preview" : " vite preview" ,
10+ "test" : " echo 'Todo:test'"
1011 },
1112 "dependencies" : {
1213 "vue" : " ^3.5.17"
Original file line number Diff line number Diff line change 1313 "build:client" : " yarn --cwd client 'build'" ,
1414 "build:server" : " yarn --cwd server 'build'" ,
1515 "build:infra" : " yarn --cwd infra 'build'" ,
16+ "test" : " run-s test:*" ,
17+ "test:client" : " yarn --cwd client 'test'" ,
18+ "test:server" : " yarn --cwd server 'test'" ,
19+ "test:infra" : " yarn --cwd infra 'test'" ,
1620 "lint" : " eslint \" **/*\" " ,
1721 "lint:fix" : " eslint --fix \" **/*\" "
1822 },
Original file line number Diff line number Diff line change 44 "scripts" : {
55 "dev" : " tsx watch src/index.ts" ,
66 "build" : " tsc" ,
7- "start" : " node dist/index.js"
7+ "start" : " node dist/index.js" ,
8+ "test" : " echo 'Todo:test'"
89 },
910 "dependencies" : {
1011 "@hono/node-server" : " ^1.14.4" ,
1516 "tsx" : " ^4.7.1" ,
1617 "typescript" : " ^5.8.3"
1718 }
18- }
19+ }
You can’t perform that action at this time.
0 commit comments