Skip to content

Commit bfea6b2

Browse files
Update package-lock.json handling in app.yaml
1 parent 22ea9d5 commit bfea6b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.diploi/helm/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
- -c
4444
- |
4545
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
46-
elif [ -f package-lock.json ]; then npm ci; \
46+
elif [ -f package-lock.json ]; then npm ci || npm install; \
4747
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
4848
else echo "Lockfile not found. Skipping install."; \
4949
fi

0 commit comments

Comments
 (0)