mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-06-05 22:53:53 +00:00
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! perf: build frontend once on runner instead of in Docker
This commit is contained in:
@@ -9,8 +9,6 @@ before:
|
|||||||
- go mod tidy
|
- go mod tidy
|
||||||
# Download and setup Zig for cross-compilation (Linux only)
|
# Download and setup Zig for cross-compilation (Linux only)
|
||||||
- bash -c 'if [ "$(uname -s)" = "Linux" ]; then wget https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz -O /tmp/zig.tar.xz && ls -lh /tmp/zig.tar.xz && tar -xvf /tmp/zig.tar.xz -C /tmp && echo "/tmp/zig-x86_64-linux-0.15.2" >> $GITHUB_PATH; fi'
|
- bash -c 'if [ "$(uname -s)" = "Linux" ]; then wget https://ziglang.org/download/0.15.2/zig-x86_64-linux-0.15.2.tar.xz -O /tmp/zig.tar.xz && ls -lh /tmp/zig.tar.xz && tar -xvf /tmp/zig.tar.xz -C /tmp && echo "/tmp/zig-x86_64-linux-0.15.2" >> $GITHUB_PATH; fi'
|
||||||
# Build frontend (Vue SPA with Vite)
|
|
||||||
- bash -c 'cd frontend && pnpm install && pnpm build'
|
|
||||||
|
|
||||||
# Build configuration
|
# Build configuration
|
||||||
# All binaries built using Zig for consistent cross-compilation
|
# All binaries built using Zig for consistent cross-compilation
|
||||||
|
|||||||
Reference in New Issue
Block a user