Skip to content

Commit

Permalink
chore(ci): build with custom mode
Browse files Browse the repository at this point in the history
  • Loading branch information
syrosh committed Jun 7, 2024
1 parent 4a4a04a commit 23e36d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
VITE_CODIMD_URL: pull-request
VITE_GITLAB_CLIENT_ID: pull-request
VITE_GITLAB_AUTHORITY: pull-request
run: npm run build
run: npm run build:ci
2 changes: 1 addition & 1 deletion .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
VITE_CODIMD_URL: main
VITE_GITLAB_CLIENT_ID: main
VITE_GITLAB_AUTHORITY: main
run: npm run build
run: npm run build:ci

release:
name: Release
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build": "tsc && vite build",
"build:prod": "NODE_ENV=production tsc && vite build",
"build:test": "tsc --noEmit",
"build:ci": "vite --mode test",
"##### DEV ###########": "###################################",
"dev": "vite",
"dev:preview": "vite preview",
Expand Down

0 comments on commit 23e36d9

Please sign in to comment.