build: add local node bin to restart script PATH

This commit is contained in:
Peter Steinberger
2025-12-07 18:49:55 +01:00
parent 558af7a454
commit d463c82c95
31 changed files with 2089 additions and 1851 deletions

View File

@@ -119,7 +119,10 @@ pnpm install \
--config.shared-workspace-lockfile=false \
--lockfile-dir "$ROOT_DIR" \
--dir "$TMP_DEPLOY"
rsync -aL "$TMP_DEPLOY/node_modules" "$RELAY_DIR/"
PNPM_STORE_DIR="$TMP_DEPLOY/.pnpm-store" \
PNPM_HOME="$HOME/Library/pnpm" \
pnpm rebuild sharp --config.ignore-workspace-root-check=true --dir "$TMP_DEPLOY"
rsync -aL "$TMP_DEPLOY/node_modules/" "$RELAY_DIR/node_modules/"
rm -rf "$TMP_DEPLOY"
if [ -f "$CLI_BIN" ]; then