File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,26 +25,29 @@ jobs:
2525 - name : Build UI
2626 run : bun run build:hook
2727
28+ - name : Bundle server (resolve workspace packages)
29+ run : bun build apps/hook/server/index.ts --outfile apps/hook/server/bundle.js --target=bun
30+
2831 - name : Compile binaries (cross-compile all targets)
2932 run : |
3033 # macOS ARM64
31- bun build apps/hook/server/index.ts --compile --target=bun-darwin-arm64 --outfile plannotator-darwin-arm64
34+ bun build apps/hook/server/bundle.js --compile --target=bun-darwin-arm64 --outfile plannotator-darwin-arm64
3235 sha256sum plannotator-darwin-arm64 > plannotator-darwin-arm64.sha256
3336
3437 # macOS x64
35- bun build apps/hook/server/index.ts --compile --target=bun-darwin-x64 --outfile plannotator-darwin-x64
38+ bun build apps/hook/server/bundle.js --compile --target=bun-darwin-x64 --outfile plannotator-darwin-x64
3639 sha256sum plannotator-darwin-x64 > plannotator-darwin-x64.sha256
3740
3841 # Linux x64
39- bun build apps/hook/server/index.ts --compile --target=bun-linux-x64 --outfile plannotator-linux-x64
42+ bun build apps/hook/server/bundle.js --compile --target=bun-linux-x64 --outfile plannotator-linux-x64
4043 sha256sum plannotator-linux-x64 > plannotator-linux-x64.sha256
4144
4245 # Linux ARM64
43- bun build apps/hook/server/index.ts --compile --target=bun-linux-arm64 --outfile plannotator-linux-arm64
46+ bun build apps/hook/server/bundle.js --compile --target=bun-linux-arm64 --outfile plannotator-linux-arm64
4447 sha256sum plannotator-linux-arm64 > plannotator-linux-arm64.sha256
4548
4649 # Windows x64
47- bun build apps/hook/server/index.ts --compile --target=bun-windows-x64 --outfile plannotator-win32-x64.exe
50+ bun build apps/hook/server/bundle.js --compile --target=bun-windows-x64 --outfile plannotator-win32-x64.exe
4851 sha256sum plannotator-win32-x64.exe > plannotator-win32-x64.exe.sha256
4952
5053 - name : Upload artifacts
You can’t perform that action at this time.
0 commit comments