Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1d3d00d
init
Yangs1s Jul 6, 2025
eeb5f07
feat: 1)상품 목록 구현
Yangs1s Jul 8, 2025
df79f87
feat: 무한 스크롤 완료 및 카테고리 작업 진행중
Yangs1s Jul 9, 2025
65e12b8
카테고리 진행중.
Yangs1s Jul 9, 2025
b41b5c8
Merge branch 'hanghae-plus:main' into main
Yangs1s Jul 9, 2025
ae35e2b
feat: easy / hard 를 구분하여 테스트를 실행할 수 있도록 함
JunilHwang Jul 10, 2025
601134e
Merge branch 'hanghae-plus:main' into main
Yangs1s Jul 10, 2025
a682f28
feat: 라우팅 수정 및 상세페이지
Yangs1s Jul 10, 2025
ec73f3f
임시 커밋
Yangs1s Jul 11, 2025
4ac56a0
배포 실행 커밋
Yangs1s Jul 11, 2025
cf5aa3f
배포 실행 커밋
Yangs1s Jul 11, 2025
97c55dd
배포 실행 커밋2
Yangs1s Jul 11, 2025
6924fb3
배포 실행 커밋 ci.yml 수정
Yangs1s Jul 11, 2025
aecb298
배포 실행 커밋 ci.yml 수정 2
Yangs1s Jul 11, 2025
ebbc815
배포 실행 커밋 ci.yml 수정 3
Yangs1s Jul 11, 2025
6007996
배포 실행 커밋 ci.yml 수정 4
Yangs1s Jul 11, 2025
c8f68f2
빌드 후 커밋
Yangs1s Jul 11, 2025
11e28fe
다시 배포 도전
Yangs1s Jul 11, 2025
d175fba
build commit
Yangs1s Jul 11, 2025
394ad49
feat: change index.html
Yangs1s Jul 11, 2025
9131c93
feat: change index.html
Yangs1s Jul 11, 2025
24762da
change index.html
Yangs1s Jul 11, 2025
c4ff435
change index.html
Yangs1s Jul 11, 2025
bd07a97
fix ci.yml
Yangs1s Jul 11, 2025
7c5f254
fix ci.yml
Yangs1s Jul 11, 2025
e20885c
fix ci.yml
Yangs1s Jul 11, 2025
e849154
fix ci.yml
Yangs1s Jul 11, 2025
6ef7320
fix:mockserviceworker.js
Yangs1s Jul 11, 2025
ac069d9
fix:mockserviceworker.js
Yangs1s Jul 11, 2025
8cb737d
make msworkers.js in public directory
Yangs1s Jul 11, 2025
e37162e
make msworkers.js in public directory
Yangs1s Jul 11, 2025
5a70f5c
feat: 404 및 SPA네비게이션
Yangs1s Jul 11, 2025
38eaa76
fix: ci.yml
Yangs1s Jul 11, 2025
5b8c446
fix: 무한 스크롤 스크롤 높이 수정
Yangs1s Jul 11, 2025
f161aec
feat:fix: e2e 테스트 통과하기 위한 수정
Yangs1s Jul 11, 2025
7ee319d
feat:fix: e2e 테스트 통과하기 위한 수정
Yangs1s Jul 12, 2025
17763f8
필요없는 컴퍼넌트 삭제
Yangs1s Jul 12, 2025
cf750e9
feat:fix: e2e 테스트 통과하기 위한 수정
Yangs1s Jul 12, 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
77 changes: 66 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,70 @@
name: CI
name: Deploy to GitHub Pages

on:
pull_request_target:
types:
- synchronize
- opened
- reopened
push:
branches: [main]

workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write

jobs:
unit:
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@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

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 +81,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 +102,4 @@ jobs:
run: |
pnpm install
npx playwright install --with-deps
pnpm run test:e2e
pnpm run test:easy:advanced
44 changes: 44 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>상품 쇼핑몰</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: "#3b82f6",
secondary: "#6b7280",
},
},
},
};
</script>
<script type="text/javascript">
var pathSegmentsToKeep = 1;
var l = window.location;
l.replace(
l.protocol +
"//" +
l.hostname +
(l.port ? ":" + l.port : "") +
l.pathname
.split("/")
.slice(0, 1 + pathSegmentsToKeep)
.join("/") +
"/?/" +
l.pathname.slice(1).split("/").slice(pathSegmentsToKeep).join("/").replace(/&/g, "~and~") +
(l.search ? "&" + l.search.slice(1).replace(/&/g, "~and~") : "") +
l.hash,
);
</script>
</head>
<body class="bg-gray-50">
<div id="root">

</div>
</body>
</html>
Loading
Loading