From 08a859a9a9cee9b0e3cca1fa73d33dd579c34d55 Mon Sep 17 00:00:00 2001 From: shimotmk Date: Mon, 8 Jul 2024 20:27:51 +0900 Subject: [PATCH] fix --- .github/workflows/pr-build-live-branch.yml | 5 ++++- bin/build-zip.sh | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-live-branch.yml b/.github/workflows/pr-build-live-branch.yml index 36042ab..6174fe8 100644 --- a/.github/workflows/pr-build-live-branch.yml +++ b/.github/workflows/pr-build-live-branch.yml @@ -28,7 +28,10 @@ jobs: CURRENT_VERSION="$CURRENT_VERSION-$VERSUFFIX" cd "$GITHUB_WORKSPACE" - bash bin/build-zip.sh + # bash bin/build-zip.sh + npm install + npm run build + npm run plugin-zip mkdir "$GITHUB_WORKSPACE/zips" mkdir -p "$GITHUB_WORKSPACE/unzips" diff --git a/bin/build-zip.sh b/bin/build-zip.sh index 89e7b18..9eee16c 100644 --- a/bin/build-zip.sh +++ b/bin/build-zip.sh @@ -16,6 +16,7 @@ fi echo "Cleaning up PHP dependencies..." npm install npm run build +npm run plugin-zip echo "Syncing files..." rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded