mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
ci: Skip running postInstall
scripts for all packages except sqlite3 (no-changelog) (#8514)
This commit is contained in:
parent
670af167e6
commit
4f3de9ab3c
|
@ -8,7 +8,8 @@ ENV N8N_VERSION=${N8N_VERSION}
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV N8N_RELEASE_TYPE=stable
|
ENV N8N_RELEASE_TYPE=stable
|
||||||
RUN set -eux; \
|
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/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-design-system && \
|
||||||
rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/node_modules && \
|
rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/node_modules && \
|
||||||
|
|
Loading…
Reference in a new issue