[# 326] 라우트 배열로 분리 후 타입 세이프 라우팅 구현 #212
install-build-test.yaml
on: pull_request
Build and Test
43s
Annotations
4 errors and 1 warning
Build and Test:
src/components/auth/AppleLogin.tsx#L18
Argument of type '`/redirect?code=${string}`' is not assignable to parameter of type '"/" | "/my-plant" | "/my-plant/add" | "/my-plant/:plantId" | "/my-plant/:plantId/feed" | "/my-plant/edit/:myPlantId" | "/guide" | "/guide/:id" | "/login" | "/redirect" | "/login/register" | ... 5 more ... | "/*"'.
|
Build and Test:
src/components/guide/Search.tsx#L29
Argument of type '`/guide/${number}`' is not assignable to parameter of type '"/" | "/my-plant" | "/my-plant/add" | "/my-plant/:plantId" | "/my-plant/:plantId/feed" | "/my-plant/edit/:myPlantId" | "/guide" | "/guide/:id" | "/login" | "/redirect" | "/login/register" | ... 5 more ... | "/*"'.
|
Build and Test:
src/components/myPlantDetail/PlantInfo.tsx#L22
Argument of type '`/guide/${number}`' is not assignable to parameter of type '"/" | "/my-plant" | "/my-plant/add" | "/my-plant/:plantId" | "/my-plant/:plantId/feed" | "/my-plant/edit/:myPlantId" | "/guide" | "/guide/:id" | "/login" | "/redirect" | "/login/register" | ... 5 more ... | "/*"'.
|
Build and Test:
src/pages/LoginRedirectPage.tsx#L41
Argument of type '`/login/register?registerToken=${string}`' is not assignable to parameter of type '"/" | "/my-plant" | "/my-plant/add" | "/my-plant/:plantId" | "/my-plant/:plantId/feed" | "/my-plant/edit/:myPlantId" | "/guide" | "/guide/:id" | "/login" | "/redirect" | "/login/register" | ... 5 more ... | "/*"'.
|
Build and Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|