ci: Skip running postInstall scripts for all packages except sqlite3 (no-changelog) (#8514)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-01-31 17:27:46 +01:00 committed by GitHub
parent 670af167e6
commit 4f3de9ab3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,8 @@ ENV N8N_VERSION=${N8N_VERSION}
ENV NODE_ENV=production
ENV N8N_RELEASE_TYPE=stable
RUN set -eux; \
npm install -g --omit=dev n8n@${N8N_VERSION} && \
npm install -g --omit=dev n8n@${N8N_VERSION} --ignore-scripts && \
npm rebuild --prefix=/usr/local/lib/node_modules/n8n sqlite3 && \
rm -rf /usr/local/lib/node_modules/n8n/node_modules/@n8n/chat && \
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 && \