Skip to content

Commit bcc57c2

Browse files
committed
ci: update workflows config.
1 parent 3774ebf commit bcc57c2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ WORKDIR /app
99
# Install dependencies based on the preferred package manager
1010
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
1111

12-
RUN \
13-
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
14-
elif [ -f package-lock.json ]; then npm ci; \
15-
elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
16-
else echo "Lockfile not found." && exit 1; \
17-
fi
12+
RUN yarn --frozen-lockfile
13+
# RUN \
14+
# if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
15+
# elif [ -f package-lock.json ]; then npm ci; \
16+
# elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
17+
# else echo "Lockfile not found." && exit 1; \
18+
# fi
1819

1920

2021
# Rebuild the source code only when needed

0 commit comments

Comments
 (0)