From 9241c43768862b9f3ce261f11c15b947ffc09adb Mon Sep 17 00:00:00 2001 From: tddebart Date: Sat, 4 Jan 2025 02:19:04 +0100 Subject: [PATCH 1/2] fix: don't add frontend dir into plugin dist as it is not needed --- .github/workflows/ci.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f196e5c..0e25991 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -128,13 +128,6 @@ jobs: cp -r "backend" ./dist/backend 2>/dev/null || echo "::debug::backend directory not found, skipping." fi - FRONTEND_DIR=$(jq -r '.frontend' plugin.json) - if [ "$FRONTEND_DIR" != "null" ]; then - cp -r "$FRONTEND_DIR" ./dist/"$FRONTEND_DIR" - else - cp -r "frontend" ./dist/frontend 2>/dev/null || echo "::debug::frontend directory not found, skipping." - fi - include=$(jq -r '.include // [] | .[]' plugin.json) if [ -z "$include" ]; then From d6088cfa0a8f9d2d4db2ec1f7504e37aaf5adec5 Mon Sep 17 00:00:00 2001 From: tddebart Date: Sat, 4 Jan 2025 02:21:27 +0100 Subject: [PATCH 2/2] fix(pr-ci): don't add frontend dir into plugin dist as it is not needed --- .github/workflows/pr.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d41d6b3..3728e6b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -59,13 +59,6 @@ jobs: cp -r "backend" ./dist/backend 2>/dev/null || echo "::warning::backend directory not found, skipping." fi - FRONTEND_DIR=$(jq -r '.frontend' plugin.json) - if [ "$FRONTEND_DIR" != "null" ]; then - cp -r "$FRONTEND_DIR" ./dist/"$FRONTEND_DIR" - else - cp -r "frontend" ./dist/frontend 2>/dev/null || echo "::warning::frontend directory not found, skipping." - fi - include=$(jq -r '.include // [] | .[]' plugin.json) if [ -z "$include" ]; then