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:
कारतोफ्फेलस्क्रिप्ट™ 2022-12-21 16:52:10 +01:00 committed by GitHub
parent 25e9f0817a
commit d60a815a44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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 && \

View file

@ -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

View file

@ -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