Skip to content

Commit faefe01

Browse files
authored
Merge pull request #134 from Soohyuniii/fix/production-mode
fix: ci 설정
2 parents 63ed777 + 37b837d commit faefe01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
env:
3232
NODE_ENV: production
3333
VITE_MODE: production
34-
run: npm run build -- --mode production
34+
run: npm run build
3535

3636
- name: Check built files (Debugging)
3737
run: grep -r "import.meta.env.MODE" dist/ || echo "No env mode found in built files"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite --mode development",
8-
"build": "vite build",
8+
"build": "vite build --mode production",
99
"lint": "eslint .",
1010
"preview": "vite preview",
1111
"start": "vite --port 3000"

0 commit comments

Comments
 (0)