Skip to content

Commit 74098b1

Browse files
committed
fix(ci): build client before server
1 parent 6155312 commit 74098b1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
"db:fix": "bun cli/bin/rin.ts db fix-top-field",
2525
"check": "turbo check",
2626
"deploy": "bun cli/bin/rin.ts deploy",
27-
"build": "turbo build",
27+
"build": "bun run build:client && bun run build:server",
28+
"build:all": "turbo build",
29+
"build:client": "bun --filter './client' build",
30+
"build:server": "mkdir -p ./dist/server && bunx wrangler deploy --dry-run --outdir=dist/server",
2831
"i18n:extract": "bun --filter './client' i18n",
2932
"clean": "rm -rf dist node_modules client/node_modules server/node_modules .turbo wrangler.toml client/.env .dev.vars",
3033
"format:check": "turbo format:check",

0 commit comments

Comments
 (0)