ci: Trim FE package.json files before publishing (no-changelog)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-08-31 14:05:12 +02:00
parent 9cfe5e3c66
commit 1b4247498b
4 changed files with 17 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ RUN set -eux; \
case "$apkArch" in \
'armv7') apk del build-dependencies;; \
esac && \
rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-design-system && \
rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/node_modules && \
find /usr/local/lib/node_modules/n8n -type f -name "*.ts" -o -name "*.js.map" -o -name "*.vue" | xargs rm && \
rm -rf /root/.npm