diff --git a/plugins/woo-ai/bin/build-zip.sh b/plugins/woo-ai/bin/build-zip.sh index 58f3b85d114..012e0a422f0 100755 --- a/plugins/woo-ai/bin/build-zip.sh +++ b/plugins/woo-ai/bin/build-zip.sh @@ -10,7 +10,7 @@ rm -rf "$BUILD_PATH" mkdir -p "$DEST_PATH" echo "Installing PHP and JS dependencies..." -pnpm install +pnpm install --frozen-lockfile echo "Running JS Build..." pnpm --filter='@woocommerce/plugin-woo-ai' build || exit "$?" diff --git a/plugins/woo-ai/changelog/dev-try-faster-building-zip b/plugins/woo-ai/changelog/dev-try-faster-building-zip new file mode 100644 index 00000000000..310400b9388 --- /dev/null +++ b/plugins/woo-ai/changelog/dev-try-faster-building-zip @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies). diff --git a/plugins/woocommerce-beta-tester/bin/build-zip.sh b/plugins/woocommerce-beta-tester/bin/build-zip.sh index 76656aced28..55e4505ba43 100755 --- a/plugins/woocommerce-beta-tester/bin/build-zip.sh +++ b/plugins/woocommerce-beta-tester/bin/build-zip.sh @@ -10,7 +10,7 @@ rm -rf "$BUILD_PATH" mkdir -p "$DEST_PATH" echo "Installing PHP and JS dependencies..." -pnpm install +pnpm install --frozen-lockfile echo "Running JS Build..." pnpm --filter='@woocommerce/plugin-woocommerce-beta-tester' build || exit "$?" diff --git a/plugins/woocommerce-beta-tester/changelog/dev-try-faster-building-zip b/plugins/woocommerce-beta-tester/changelog/dev-try-faster-building-zip new file mode 100644 index 00000000000..310400b9388 --- /dev/null +++ b/plugins/woocommerce-beta-tester/changelog/dev-try-faster-building-zip @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies). diff --git a/plugins/woocommerce/bin/build-zip.sh b/plugins/woocommerce/bin/build-zip.sh index 1e3f2050f21..6fd67f824fd 100755 --- a/plugins/woocommerce/bin/build-zip.sh +++ b/plugins/woocommerce/bin/build-zip.sh @@ -14,7 +14,7 @@ echo "Cleaning up assets..." find "$PROJECT_PATH/assets/css/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/client/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/js/." ! -name '.gitkeep' -type f -exec rm -f {} + echo "Installing PHP and JS dependencies..." -pnpm install +pnpm install --frozen-lockfile echo "Running JS Build..." if [ -z "${NODE_ENV}" ]; then diff --git a/plugins/woocommerce/changelog/dev-try-faster-building-zip b/plugins/woocommerce/changelog/dev-try-faster-building-zip new file mode 100644 index 00000000000..310400b9388 --- /dev/null +++ b/plugins/woocommerce/changelog/dev-try-faster-building-zip @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).