mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-19 22:37:31 -07:00
ci: Use a fixed version of NPM in the release process (no-changelog) (#4975)
ci: Use a fixed version of NPM in the release process
This commit is contained in:
parent
25e9f0817a
commit
d60a815a44
|
@ -6,7 +6,7 @@ COPY .npmrc /usr/local/etc/npmrc
|
|||
|
||||
RUN \
|
||||
apk add --update git graphicsmagick tini tzdata ca-certificates && \
|
||||
npm install -g npm@latest full-icu && \
|
||||
npm install -g npm@8.19.2 full-icu && \
|
||||
rm -rf /var/cache/apk/* /root/.npm /tmp/* && \
|
||||
# Install fonts
|
||||
apk --no-cache add --virtual fonts msttcorefonts-installer fontconfig && \
|
||||
|
|
|
@ -12,7 +12,7 @@ RUN \
|
|||
# Set a custom user to not have n8n run as root
|
||||
USER root
|
||||
|
||||
RUN npm_config_user=root npm install -g npm@latest full-icu n8n@${N8N_VERSION}
|
||||
RUN npm_config_user=root npm install -g npm@8.19.2 full-icu n8n@${N8N_VERSION}
|
||||
|
||||
ENV NODE_ICU_DATA /usr/local/lib/node_modules/full-icu
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ RUN \
|
|||
# Set a custom user to not have n8n run as root
|
||||
USER root
|
||||
|
||||
RUN npm_config_user=root npm install -g npm@latest n8n@${N8N_VERSION}
|
||||
RUN npm_config_user=root npm install -g npm@8.19.2 n8n@${N8N_VERSION}
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
|
|
Loading…
Reference in a new issue