Skip to content

Commit

Permalink
feature: modified votefusion client
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-byiringiro committed Dec 18, 2024
1 parent 31edc99 commit 164b1af
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ services:
region: frankfurt
branch: main
buildCommand: >
npm install && cd shared && npm install && npm run build && cd ../client &&
npm install vite @vitejs/plugin-react --save-dev &&
npm install --save-dev @types/react-transition-group @types/react @types/react-dom @types/storybook__react @types/jest &&
rm -rf src/stories &&
SKIP_PREFLIGHT_CHECK=true NODE_ENV=production npm run build
npm install && cd shared && npm install && npm run build && cd ../client &&
npm install --save-dev vite @vitejs/plugin-react &&
SKIP_PREFLIGHT_CHECK=true NODE_ENV=development npm run build
startCommand: cd client && npm run serve
envVars:
- key: VITE_API_URL
Expand All @@ -57,5 +55,4 @@ services:
value: 10000
- key: NODE_ENV
value: production
- key: SKIP_PREFLIGHT_CHECK
value: "true"

0 comments on commit 164b1af

Please sign in to comment.