We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca0584 commit 4d7ee53Copy full SHA for 4d7ee53
1 file changed
.diploi/helm/app.yaml
@@ -42,7 +42,12 @@ spec:
42
- /bin/sh
43
- -c
44
- |
45
- if [ -f yarn.lock ]; then yarn --frozen-lockfile || yarn install; \
+ if [ -f yarn.lock ]; then
46
+ yarn --frozen-lockfile
47
+ if [ $? -ne 0 ]; then
48
+ echo "Retrying yarn install without frozen lockfile"
49
+ yarn install
50
+ fi
51
elif [ -f package-lock.json ]; then npm ci || npm i; \
52
elif [ -f pnpm-lock.yaml ]; then pnpm i --frozen-lockfile || pnpm i; \
53
elif [ -f package.json ]; then
0 commit comments