Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d2d3fc3
과제 시작
JungWoo0203 Jul 6, 2025
2e7738e
테스트 완료: 페이지 접속 시 로딩 상태가 표시되고, 데이터 로드 완료 후 상품 목록이 렌더링된다
JungWoo0203 Jul 6, 2025
2e5ae9b
feat: 장바구니 구현
JungWoo0203 Jul 6, 2025
f1a99c4
feat: 컴포넌트, 기능으로 구조화
JungWoo0203 Jul 6, 2025
526a542
feat: 상품 검색
JungWoo0203 Jul 6, 2025
fbdbd0d
feat: 카테고리 구현
JungWoo0203 Jul 6, 2025
18a1ae1
fix: 장바구니 요구사항에 맞게 수정
JungWoo0203 Jul 6, 2025
b053d6c
feat: product 페이지 생성
JungWoo0203 Jul 6, 2025
79b9c46
Merge branch 'main' of https://github.com/hanghae-plus/front_6th_chap…
SpartaJungWoo Jul 7, 2025
3f8b291
feat: Toast 구현, 상품 상세 개선
JungWoo0203 Jul 7, 2025
94b7e18
fix: 폴더 구조 및 코드 구조 개체지향적으로 변경
JungWoo0203 Jul 7, 2025
c5f8c6f
Merge branch 'main' of https://github.com/hanghae-plus/front_6th_chap…
JungWoo0203 Jul 8, 2025
4955421
Merge branch 'main' of https://github.com/hanghae-plus/front_6th_chap…
SpartaJungWoo Jul 9, 2025
5d506fc
Merge branch 'main' of https://github.com/hanghae-plus/front_6th_chap…
SpartaJungWoo Jul 9, 2025
ae35e2b
feat: easy / hard 를 구분하여 테스트를 실행할 수 있도록 함
JunilHwang Jul 10, 2025
6bf2a75
Merge branch 'main' of https://github.com/hanghae-plus/front_6th_chap…
JungWoo0203 Jul 10, 2025
2d23cd7
fix: 로딩할 때 로딩 UI 표시
JungWoo0203 Jul 10, 2025
5cd623f
feat: easy 테스트 모두 통과
JungWoo0203 Jul 11, 2025
bec64f7
fix: 안쓰는 라우터 삭제
JungWoo0203 Jul 11, 2025
5029efc
배포 세팅 수정
JungWoo0203 Jul 11, 2025
bb81df4
fix: 라우터 개선
JungWoo0203 Jul 11, 2025
9793361
fix: main에서도 router관련 수정
JungWoo0203 Jul 11, 2025
5359d40
feat: git action 추가
JungWoo0203 Jul 11, 2025
6c15d0d
fix: 라우팅되는 곳 변경
JungWoo0203 Jul 11, 2025
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
47 changes: 43 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,45 @@ on:
workflow_dispatch:

jobs:
unit:
hard-basic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- run: |
pnpm install
pnpm run test:hard:basic
hard-advanced:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: |
pnpm install
npx playwright install --with-deps
pnpm run test:hard:advanced
easy-basic:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -27,8 +65,9 @@ jobs:
- name: Install dependencies
run: |
pnpm install
pnpm run test
e2e:
npx playwright install --with-deps
pnpm run test:easy:basic
easy-advanced:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -47,4 +86,4 @@ jobs:
run: |
pnpm install
npx playwright install --with-deps
pnpm run test:e2e
pnpm run test:easy:advanced
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to GitHub Pages

on:
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build
env:
NODE_ENV: production

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
2 changes: 1 addition & 1 deletion cart-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="max-w-md mx-auto px-4 py-4">
<div class="flex items-center justify-between">
<h1 class="text-xl font-bold text-gray-900">
<a href="/" data-link="">쇼핑몰</a>
<a href="${router.BASE_PATH}" data-link="">쇼핑몰</a>
</h1>
<div class="flex items-center space-x-2">
<!-- 장바구니 아이콘 -->
Expand Down
Loading
Loading