ci: fix npm install

This commit is contained in:
Anton Voylenko 2025-12-09 22:13:11 +02:00
commit 2bf8ae8993

View file

@ -14,7 +14,8 @@ ARG USE_EDGE=false
COPY package*.json ./
RUN if [ "$USE_EDGE" = "true" ]; then \
npm install --save-exact --omit=dev --ignore-scripts github:pedroslopez/whatsapp-web.js#main; \
npm ci --only=production --ignore-scripts && \
npm install --save-exact github:pedroslopez/whatsapp-web.js#main; \
else \
npm ci --only=production --ignore-scripts; \
fi