Skip to content

Commit 09e5d98

Browse files
acartineclaude
andcommitted
Fix CI: skip prepare script in runtime bundle install
The prepare hook (setup-git-hooks.sh) is a dev-only concern and doesn't exist in the stripped-down runtime bundle directory. Use --ignore-scripts for the production install step. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5be7ae6 commit 09e5d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-runtime-artifact.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ main() {
8080
log "Installing production dependencies into runtime bundle"
8181
(
8282
cd "$RUNTIME_DIR"
83-
bun install --frozen-lockfile --production
83+
bun install --frozen-lockfile --production --ignore-scripts
8484
)
8585

8686
cp -R "$ROOT_DIR/.next" "$RUNTIME_DIR/.next"

0 commit comments

Comments
 (0)