Skip to content

Commit 87032da

Browse files
committed
feat : 최적화를 위한 여러 패키지 추가
1 parent b4b892c commit 87032da

File tree

4 files changed

+1428
-6
lines changed

4 files changed

+1428
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Playwright Tests
2+
on:
3+
push:
4+
branches: [ main, master ]
5+
pull_request:
6+
branches: [ main, master ]
7+
jobs:
8+
test:
9+
timeout-minutes: 60
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: lts/*
16+
- name: Install dependencies
17+
run: npm install -g pnpm && pnpm install
18+
- name: Install Playwright Browsers
19+
run: pnpm exec playwright install --with-deps
20+
- name: Run Playwright tests
21+
run: pnpm exec playwright test
22+
- uses: actions/upload-artifact@v4
23+
if: ${{ !cancelled() }}
24+
with:
25+
name: playwright-report
26+
path: playwright-report/
27+
retention-days: 30

frontend/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,31 +30,41 @@
3030
"framer-motion": "^11.12.0",
3131
"react": "^18.3.1",
3232
"react-dom": "^18.3.1",
33+
"recoil": "^0.7.7",
3334
"socket.io-client": "^4.8.1",
3435
"tailwind-merge": "^2.5.4",
3536
"three": "^0.171.0"
3637
},
3738
"devDependencies": {
3839
"@eslint/js": "^9.13.0",
40+
"@playwright/test": "^1.51.0",
3941
"@tanstack/router-cli": "^1.79.0",
4042
"@tanstack/router-devtools": "^1.81.1",
4143
"@tanstack/router-plugin": "^1.79.0",
44+
"@testing-library/dom": "^10.4.0",
45+
"@testing-library/react": "^16.2.0",
4246
"@types/node": "^22.9.0",
4347
"@types/react": "^18.3.12",
4448
"@types/react-dom": "^18.3.1",
4549
"@vitejs/plugin-react": "^4.3.3",
4650
"autoprefixer": "^10.4.20",
51+
"cssnano": "^7.0.6",
4752
"eslint": "^9.13.0",
4853
"eslint-plugin-react-hooks": "^5.0.0",
4954
"eslint-plugin-react-refresh": "^0.4.14",
5055
"globals": "^15.11.0",
56+
"jsdom": "^26.0.0",
5157
"msw": "^2.6.4",
5258
"postcss": "^8.4.48",
5359
"prettier": "^3.3.3",
60+
"rollup-plugin-visualizer": "^5.14.0",
61+
"sharp": "^0.33.5",
5462
"tailwindcss": "^3.4.14",
5563
"typescript": "~5.6.3",
5664
"typescript-eslint": "^8.11.0",
5765
"vite": "^5.4.10",
66+
"vite-plugin-compression2": "^1.3.3",
67+
"vite-plugin-image-optimizer": "^1.1.8",
5868
"vite-tsconfig-paths": "^5.1.3",
5969
"vitest": "^2.1.4"
6070
},

0 commit comments

Comments
 (0)