Skip to content

Commit 44771ee

Browse files
authored
fix: don't add frontend dir into plugin dist as it is not needed (#11)
* fix: don't add frontend dir into plugin dist as it is not needed * fix(pr-ci): don't add frontend dir into plugin dist as it is not needed
1 parent fbc4d77 commit 44771ee

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@ jobs:
128128
cp -r "backend" ./dist/backend 2>/dev/null || echo "::debug::backend directory not found, skipping."
129129
fi
130130
131-
FRONTEND_DIR=$(jq -r '.frontend' plugin.json)
132-
if [ "$FRONTEND_DIR" != "null" ]; then
133-
cp -r "$FRONTEND_DIR" ./dist/"$FRONTEND_DIR"
134-
else
135-
cp -r "frontend" ./dist/frontend 2>/dev/null || echo "::debug::frontend directory not found, skipping."
136-
fi
137-
138131
include=$(jq -r '.include // [] | .[]' plugin.json)
139132
140133
if [ -z "$include" ]; then

.github/workflows/pr.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ jobs:
5959
cp -r "backend" ./dist/backend 2>/dev/null || echo "::warning::backend directory not found, skipping."
6060
fi
6161
62-
FRONTEND_DIR=$(jq -r '.frontend' plugin.json)
63-
if [ "$FRONTEND_DIR" != "null" ]; then
64-
cp -r "$FRONTEND_DIR" ./dist/"$FRONTEND_DIR"
65-
else
66-
cp -r "frontend" ./dist/frontend 2>/dev/null || echo "::warning::frontend directory not found, skipping."
67-
fi
68-
6962
include=$(jq -r '.include // [] | .[]' plugin.json)
7063
7164
if [ -z "$include" ]; then

0 commit comments

Comments
 (0)