Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Merge pull request #101 from Kerosene-Labs/build-home-screen
Browse files Browse the repository at this point in the history
trying to debug production error
  • Loading branch information
hlafaille authored Dec 23, 2024
2 parents 2560066 + ad3fb60 commit e9804f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: cd src/main/svelte && npm i

- name: Build Distributable
run: bash -c "cd src/main/svelte && source .env.develop && npm run build"
run: bash -c "cd src/main/svelte && NODE_ENV=develop npm run build"

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: cd src/main/svelte && npm i

- name: Build Distributable
run: bash -c "cd src/main/svelte && source .env.production && npm run build"
run: bash -c "cd src/main/svelte && NODE_ENV=production npm run build"

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion src/main/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build-production": "NODE_ENV=production vite build",
"build-develop": "NODE_ENV=develop vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down

0 comments on commit e9804f6

Please sign in to comment.