Skip to content

Commit

Permalink
Cleanup frontend workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvollebregt committed Oct 4, 2024
1 parent 6fd4b72 commit 19466a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ jobs:
node-version: "22.x"

- name: Install dependencies
run: npm ci --legacy-peer-deps
run: npm ci

- name: Build project
run: npm run build
env:
SKIP_PREFLIGHT_CHECK: true
VITE_API_ROOT: https://monopoly-money.fly.dev
VITE_GOOGLE_ANALYTICS_TRACKING_ID: G-3SFPXD2CWJ
VITE_API_UNREACHABLE_ERROR_MESSAGE: "Unable to communicate with server.\nSince this is publicly hosted, we may have run out of minutes on the server.\nThis should be running again next month when the time is reset."
CI: false
GENERATE_SOURCEMAP: false

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "packages/server/build/index.js",
"scripts": {
"start": "node packages/server/build",
"build": "npm run build -w ./packages/game-state && cd && npm run build -w ./packages/server && npm run build -w ./packages/client && node postbuild.js",
"build": "npm run build -w ./packages/game-state && npm run build -w ./packages/server && npm run build -w ./packages/client && node postbuild.js",
"client:dev": "cd packages/client && npm run dev",
"server:dev": "cd packages/server && npm run dev"
},
Expand Down

0 comments on commit 19466a8

Please sign in to comment.