Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 이유
작업 사항
1️⃣ CI Pipeline 구조도
단계별 흐름은 아래 이미지와 같습니다.
npm
,yarn
과 다른 점이 있다면pnpm
의 경우pnpm
을 추가해주는 Setup pnpm 단계를 거쳐야합니다. 참고로 현재 테스트가 없기 때문에 vitest command의passWithNoTests
옵션을 추가하여 테스트가 통과하도록 설정하였습니다.리뷰어가 중점적으로 확인해야 하는 부분
passWithNoTests
은 제거되어야 합니다.발견한 이슈
1. Vite CJS Node API deprecated
vitest 테스트를 진행하였을 때 위 에러가 발생하였는데 package.json의 type을 module로 설정하여 해결하였습니다.
2. ESLint 9 - Nextjs 호환성 문제
ESLint 9 버전이 출시된 지 얼마 되지 않아 eslint-config-next의 모든 종속성을 지원하지 않아서 v8.57.0으로 다운그레이드 하였습니다. ESLint9로 lint를 실행하였을 때 발생한 에러 로그는 다음과 같습니다.
3. @typescript-eslint/typescript-estree
ESLint의 버전을 v8.57.0으로 다운그레이드한 후 lint를 실행한 결과
@typescript-eslint/typescript-estree
가 typescript v5.6.2를 공식적으로 지원하지 않는다는 경고 메시지가 표시되어 v5.5.4로 다운그레이드 하였습니다. 경고 메시지 로그는 아래와 같습니다.참고