Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI에서는 h2 사용으로 변경 #244

Closed
wants to merge 153 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
d9da859
eslint 설정 추가 및 stylelint 설정 추가 (#87)
Hain-tain Jul 18, 2024
cb3c9ba
chore: Jest 관련 패키지 설치 및 설정
Jaymyong66 Jul 19, 2024
504f8c1
chore: React Testing Library 관련 패키지 설치
Jaymyong66 Jul 19, 2024
ba6edbd
chore: MSW 설치 및 설정
Jaymyong66 Jul 19, 2024
58283aa
chore: @stylelint/postcss-css-in-js 패키지 devDependencies로 변경
Jaymyong66 Jul 19, 2024
7229991
chore: stylelint-config-standartd 패키지 제거
Jaymyong66 Jul 20, 2024
b11a777
chore: MSW 세팅
Jaymyong66 Jul 20, 2024
58a1954
chore: gitignore에 .env 파일 추가
Jaymyong66 Jul 20, 2024
8dfe355
feat(hooks): MSW 초기 설정 테스트용 useTemplateListQuery spec 생성
Jaymyong66 Jul 20, 2024
f5a13b6
refactor(Button): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
3141d79
refactor(Flex): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
0154e6d
refactor(Header): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
f667658
refactor(Input): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
55caec3
refactor(Text): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
9dbcec9
refactor(SelectList): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
3c241e3
refactor(SnippetEditor): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
7443538
refactor(Layout): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
38874ab
refactor(TemplateTitleInput): 스타일 일관성 리팩토링
vi-wolhwa Jul 21, 2024
528e36f
feat(components): import 'type' 키워드 사용 및 type > interface 리팩토링
vi-wolhwa Jul 21, 2024
7fcbc53
refactor(SelectList): style 기본값 선언 방식 변경
vi-wolhwa Jul 21, 2024
9e280b6
refactor(Flex): style props 객체분해할당
vi-wolhwa Jul 21, 2024
8588a3d
fix(Button): 버튼 텍스트 중앙 정렬
vi-wolhwa Jul 21, 2024
caf244d
chore: stylelint 불필요한 구문 제거 및 shortHand 규칙 비활성화
vi-wolhwa Jul 21, 2024
9d3108b
refactor(Flex): flex-flow -> flex-direction 수정
vi-wolhwa Jul 21, 2024
fedf8e2
refactor(Flex): 스타일 props 전달 방식 props.gap > {gap} 변경
vi-wolhwa Jul 22, 2024
c312a22
chore: eslint config 파일 json 형식으로 변경
Jaymyong66 Jul 22, 2024
52f08f5
chore: stylelint 불필요한 설정 제거
Jaymyong66 Jul 22, 2024
3ff2d29
chore: eslint 설정에서 path alias webpack 설정 제거
Jaymyong66 Jul 22, 2024
0afd240
chore: jest config 옵션에 path alias 추가
Jaymyong66 Jul 22, 2024
bee4e0b
chore: jest의 setupTests에 사용하지 않는 패키지 import 제거
Jaymyong66 Jul 22, 2024
01244ef
Merge pull request #99 from Jaymyong66/chore/test_tool_setting
vi-wolhwa Jul 22, 2024
46e03c3
Merge branch 'dev/fe' into refactor/component_style_consistency
vi-wolhwa Jul 22, 2024
c82aa17
fix(SelectList): isSelected 스타일 구문 오류 수정
vi-wolhwa Jul 22, 2024
86652b3
refactor(Input): formNoValidate 조건 간략화
vi-wolhwa Jul 22, 2024
af6afd9
refactor(SnippetEditor): 컴포넌트 변경사항 롤백
vi-wolhwa Jul 22, 2024
664851a
refactor(SelectList): Text-color isSelected 조건 수정
vi-wolhwa Jul 22, 2024
3ac5438
Merge branch 'refactor/component_style_consistency' of https://github…
vi-wolhwa Jul 22, 2024
b103632
refactor(components): 컴포넌트 Props에서 불필요한 optional 제거 및 반영
vi-wolhwa Jul 23, 2024
45cb24e
refactor(components): styled-components에서 컴포넌트의 Props 사용
vi-wolhwa Jul 23, 2024
49fc2d3
refactor(components): children 대신 PropsWithChildren 사용
vi-wolhwa Jul 23, 2024
6c3c996
refactor(components): 컴포넌트 매개변수에서 기본값 정의 및 수정사항 반영
vi-wolhwa Jul 23, 2024
c2f232e
feat(workflows): frontend ci 설정
Jaymyong66 Jul 23, 2024
4ea2c24
refactor(Text): Text 서브컴포넌트 assign 방식 변경
vi-wolhwa Jul 23, 2024
0a9c4ac
fix(SelectList): Text color 값 오류 해결
vi-wolhwa Jul 23, 2024
968bbb9
refactor(Text): Text 컴포넌트 prop color Optional 제거
vi-wolhwa Jul 23, 2024
06b1909
fix(Text): TextWrapper 'size' 단위 'rem' 추가
vi-wolhwa Jul 23, 2024
68f0117
fix(Flex): 타입 확장 (HTMLAttributes<HTMLDivElement>)
vi-wolhwa Jul 23, 2024
8285a33
refactor(components): import 'React' 생략
vi-wolhwa Jul 23, 2024
290db3d
refactor(Header): 불필요한 styled-component 삭제
vi-wolhwa Jul 23, 2024
00bfc9a
refactor(components): import 구문에 path-alias 사용
vi-wolhwa Jul 23, 2024
9d676bc
Merge pull request #105 from Jaymyong66/feat/ci_setting
vi-wolhwa Jul 23, 2024
4a94100
refactor(Button): 'variant' 이름 변경 (default > contained>
vi-wolhwa Jul 23, 2024
a0c3643
refactor(Button): Props 타입 변경, 속성 변경
Jaymyong66 Jul 23, 2024
915218e
refactor(Flex): React 객체 제거
Jaymyong66 Jul 23, 2024
1c7ed27
chore: dotenv 설치 및 webpack 설정 추가
Hain-tain Jul 23, 2024
24689ee
refactor(public): index.html 에서 불필요한 script 제거
Hain-tain Jul 23, 2024
8fbebf6
feat(api): customFetch
Hain-tain Jul 23, 2024
dd5bf59
feat(api): endPoint 및 queryKey 상수화
Hain-tain Jul 23, 2024
a3cd5f8
feat(api): customFetch 활용하여 templates 관련 요청 함수 생성
Hain-tain Jul 23, 2024
e7f8244
refactor(src): 응답 json 객체 키 카멜케이스로 변경
Hain-tain Jul 23, 2024
e14b8f7
refactor(utils): 불필요한 convertToCamelCase 삭제
Hain-tain Jul 23, 2024
010d53d
refactor(hooks): queryKey 상수 적용 및 api 요청 함수 적용
Hain-tain Jul 23, 2024
3fedf90
test(hooks): useTemplateListQuery, useTemplateQuery, useTemplateUploa…
Hain-tain Jul 23, 2024
5130634
refactor(src): UploadsTemplate => TemplateUpload 로 변경
Hain-tain Jul 23, 2024
18e7485
feat(utils): formatRelativeTime
Hain-tain Jul 23, 2024
1fc5aa2
test(utils): formatRelativeTime
Hain-tain Jul 23, 2024
e1aa288
refactor(src): formatRelativeTime 적용 및 SyntaxHighlighter에 fontSize 추가
Hain-tain Jul 23, 2024
22a3e05
chore: msw setupWorker 설정
Hain-tain Jul 23, 2024
8c34417
feat(Button): size 속성에 filled 타입 추가
Jaymyong66 Jul 24, 2024
fddcf6b
feat(.storybook): storybook에 path alias 설정 추가
Jaymyong66 Jul 24, 2024
bc6af7d
refactor(Flex): props 변수명을 rests로 변경
Jaymyong66 Jul 24, 2024
a319156
style(Header): import 순서 변경
Jaymyong66 Jul 24, 2024
90e2a72
refactor(Input): Props의 타입을 InputHTMLAttributes를 extend하도록 변경
Jaymyong66 Jul 24, 2024
500a453
Merge pull request #98 from vi-wolhwa/refactor/component_style_consis…
Hain-tain Jul 24, 2024
b1ec13d
Merge branch 'dev/fe' of https://github.com/woowacourse-teams/2024-co…
Hain-tain Jul 24, 2024
9bc3921
refactor(api): header에 'Content-Type': 'application/json' 추가
Hain-tain Jul 24, 2024
068f44f
test(utils): formatRelativeTime 테스트 명세 수정
Hain-tain Jul 24, 2024
bafe107
refactor(src): TEMPLATE_API_URL templates 파일에서 export 및 config 파일 제거
Hain-tain Jul 24, 2024
020b8d8
Merge pull request #110 from Hain-tain/refactor/templates_api
Jaymyong66 Jul 24, 2024
960d44b
fix(pages): Text Title에 color 추가
Hain-tain Jul 24, 2024
8fe67bb
chore: CI에 Type Checking 추가, packge.json 스크립트 tsc 추가 및 start => dev로 변경
Hain-tain Jul 24, 2024
23ee7e9
refactor(src): contentSummary => thumbnailContent 로 필드명 변경
Hain-tain Jul 24, 2024
04ded6e
feat(routes): basename 설정
Hain-tain Jul 24, 2024
78c098b
refactor(workflows): CI 설정 run 명령에 'run' 추가
Hain-tain Jul 24, 2024
41aa239
Merge pull request #130 from Hain-tain/feat/router_basename
vi-wolhwa Jul 24, 2024
26365ed
chore: webpack의 file-loader 제거, webpack5의 설정으로 대체
Jaymyong66 Jul 24, 2024
78dc555
refactor(src): 컴포넌트 import/export 방식 변경 및 반영
vi-wolhwa Jul 24, 2024
8cbbb2d
refactor(src): 이미지 import/export 방식 변경 및 반영
vi-wolhwa Jul 24, 2024
b2a9466
refactor(src): 훅, 유틸 import/export 방식 변경 및 반영
vi-wolhwa Jul 24, 2024
51cb21b
refactor(src): 페이지 import/export 방식 변경 및 반영
vi-wolhwa Jul 24, 2024
defff79
chore: eslint import 외부/내부 모듈 간 newLine 규칙 추가
vi-wolhwa Jul 24, 2024
931ee7a
refactor(src): eslint 외부/내부 모듈 import간 newLine 규칙 반영
vi-wolhwa Jul 24, 2024
1e01bd9
refactor(src): API import/export 방식 변경 및 반영
vi-wolhwa Jul 24, 2024
8f04d4f
refactor(SelectList): styled-component 'Container'를 'Flex' 컴포넌트로 변경
vi-wolhwa Jul 24, 2024
6f2df03
refactor(Template): Template 페이지 프레임 구조 수정
vi-wolhwa Jul 24, 2024
118fc2e
refactor(Template): Template 페이지 폴더링
vi-wolhwa Jul 24, 2024
538def1
chore: webpack의 설정을 common, dev, prod로 파일 변경
Jaymyong66 Jul 25, 2024
a29e046
refactor(api): BASE_URL -> API_URL 변수명 변경
Jaymyong66 Jul 25, 2024
13a4678
refactor(routes): 환경변수 파일 분리에 따른 BASE_URL 분기처리 제거
Jaymyong66 Jul 25, 2024
9660417
refactor(components): import 경로 변경 ('..' > '@/components')
vi-wolhwa Jul 25, 2024
ddd1a8e
refactor(TemplateItem): utils import 방식 미반영사항 수정
vi-wolhwa Jul 25, 2024
a2eceba
refactor(components): index.ts에 EOL 추가
vi-wolhwa Jul 25, 2024
8325f1e
Merge pull request #134 from vi-wolhwa/refactor/import_export_convention
Jaymyong66 Jul 25, 2024
3a19211
Merge branch 'dev/fe' of https://github.com/vi-wolhwa/2024-code-zap i…
vi-wolhwa Jul 25, 2024
ad64311
refactor(routes): basename 제거
Jaymyong66 Jul 25, 2024
365606d
chore: webpack.common.js로 파일명 변경, clear 옵션 추가
Jaymyong66 Jul 25, 2024
8aea336
feat(src): template 수정, 삭제 요청 함수 생성
Hain-tain Jul 25, 2024
050425a
feat(mocks): template 수정, 삭제 handlers 추가
Hain-tain Jul 25, 2024
3cd1022
feat(hooks): useTemplateEditQuery
Hain-tain Jul 25, 2024
ff1333d
test(hooks): useTemplateEditQuery
Hain-tain Jul 25, 2024
d0d6e79
feat(hooks): useTemplateDeleteQuery
Hain-tain Jul 25, 2024
94a9bb2
test(hooks): useTemplateDeleteQuery
Hain-tain Jul 25, 2024
5641f5d
chore: publicPath 옵션을 webpack.dev.js로 변경
Jaymyong66 Jul 25, 2024
ec57fbb
chore: process 패키지 제거
Jaymyong66 Jul 25, 2024
7e0bb4b
Merge pull request #139 from Jaymyong66/feat/webpack_config_env
vi-wolhwa Jul 25, 2024
50f270e
refactor(src): 페이지에 'Page' suffix 추가
vi-wolhwa Jul 25, 2024
80ba2bc
refactor(src): 업로드 라우팅 주소 변경 (uploads > upload)
vi-wolhwa Jul 25, 2024
750b8ae
feat(src): 'TemplateEditPage' 구현
vi-wolhwa Jul 25, 2024
e40e8a2
refactor(routes): basename 제거
vi-wolhwa Jul 25, 2024
123d2ae
Merge branch 'dev/fe' into feat/template_edit_page
vi-wolhwa Jul 25, 2024
4fdb939
refactor(src): browser worker 주석 제거
vi-wolhwa Jul 25, 2024
f2f33fc
Merge pull request #143 from vi-wolhwa/feat/template_edit_page
Jaymyong66 Jul 25, 2024
75cc65c
Merge pull request #136 from Hain-tain/feat/templates_UD_api
Jaymyong66 Jul 25, 2024
920d73a
feat(workflows): 배포 파이프라인 구현
kyum-q Jul 25, 2024
b773efe
Merge pull request #153 from kyum-q/feat/fe_cd
Hain-tain Jul 25, 2024
00c3393
refactor(hooks): useTemplateEditQuery , useTemplateDeleteQuery templa…
Hain-tain Jul 25, 2024
a5f7dcc
feat(hooks): template index 에 수정, 삭제 훅 추가
Hain-tain Jul 25, 2024
93e4f4e
refactor(routes): edit route 삭제
Jaymyong66 Jul 25, 2024
dcd7aeb
refactor(pages): template 수정 기능 구현
Jaymyong66 Jul 25, 2024
91f5e20
feat(assets): 휴지통 아이콘 추가
Jaymyong66 Jul 25, 2024
4bed136
design(TemplateItem): 코드 뷰어의 linHeigth 변경
Jaymyong66 Jul 25, 2024
94c7a3f
Merge pull request #155 from Hain-tain/feat/template_UD
Jaymyong66 Jul 25, 2024
526a822
refactor(pages): TemplateUploadPage에서 TemplateUploadRequest 타입 적용 및 사…
Hain-tain Jul 25, 2024
95101b7
Merge pull request #157 from Hain-tain/refactor/template_create
vi-wolhwa Jul 25, 2024
53b5c00
refactor(src): 템플릿 수정/삭제 버튼 이미지 변경
vi-wolhwa Jul 25, 2024
fafd119
feat(TemplateUploadPage): 취소 버튼 및 스니펫 삭제 버튼 추가, 스니펫이 없을 경우 save 버튼 di…
Hain-tain Jul 25, 2024
252ec78
feat(TemplateEditPate): save 버튼 disabled 추가
Hain-tain Jul 25, 2024
d418ca1
design(Header): z-index 1 추가
Hain-tain Jul 25, 2024
93a623a
refactor(Header): 로고 라우터 '/'로 변경
Hain-tain Jul 25, 2024
00d402f
refactor(SelectList): 'SelectList' 디자인 변경
vi-wolhwa Jul 26, 2024
fe9bed9
feat(src): 스니펫에 파일명 추가
vi-wolhwa Jul 26, 2024
059e2b7
design(SelectList): 배경(테드리) 제거
vi-wolhwa Jul 26, 2024
2e180da
refactor(src): browser worker 활성화
vi-wolhwa Jul 26, 2024
3ea1560
Merge pull request #164 from Hain-tain/refactor/template_create
Jaymyong66 Jul 26, 2024
836e695
Merge pull request #166 from vi-wolhwa/refactor/page_style
Jaymyong66 Jul 26, 2024
ac697de
fix(public): index.html에 base URL 추가
Jaymyong66 Jul 26, 2024
9dd4b49
Merge pull request #174 from Jaymyong66/fix/index_html_base_url
vi-wolhwa Jul 26, 2024
ef54d05
Merge pull request #216 from woowacourse-teams/dev/fe
vi-wolhwa Jul 31, 2024
cc2012a
Update backend_ci.yml
kyum-q Aug 2, 2024
5b7f287
chore: h2 의존성 추가
kyum-q Aug 2, 2024
aa68aad
refactor(workflows): DB MySQL에서 h2로 변경
kyum-q Aug 2, 2024
02bd6d4
Update backend_cd.yml
kyum-q Aug 2, 2024
2bdaef7
Merge branch 'develop' into refactor/ci-h2
kyum-q Aug 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/backend_ci.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,28 @@
name: 백엔드 CI

on:
pull_request_target:
pull_request:
branches:
- dev/be
- develop
- main
types: [opened, reopened, synchronize]


jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 체크아웃
uses: actions/checkout@v4

- name: MySQL 실행
uses: mirromutth/[email protected]
with:
host port: ${{ secrets.MYSQL_HOST_PORT }}
container port: ${{ secrets.MYSQL_CONTAINER_PORT }}
mysql version: ${{ secrets.MYSQL_VERSION }}
mysql database: ${{ secrets.MYSQL_DATABASE }}
mysql root password: ${{ secrets.MYSQL_PASSWORD }}

- name: DB 관련 스프링 설정 생성
working-directory: ./backend/src/main/resources
run: echo "${{ secrets.APPLICATION_DB_YAML }}" > application-db.yml
- name: H2 스프링 설정 생성
run: |
echo "spring:
h2:
console:
enabled: true
path: /h2-console
datasource:
url: jdbc:h2:mem:database" > backend/src/main/resources/application.yml

- name: JDK 17 설정
uses: actions/setup-java@v4
Expand Down
1 change: 1 addition & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok'

runtimeOnly 'com.mysql:mysql-connector-j:9.0.0'
runtimeOnly 'com.h2database:h2'

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured:5.5.0'
Expand Down