Updated pnpm in workflows and Dockerfile

This commit is contained in:
Mawoka
2024-01-03 19:04:05 +01:00
parent 936ae56693
commit 9ae88794ca
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
- uses: pnpm/action-setup@v2.2.4
with:
version: 7.9.3
version: 8.14.0
working-directory: ./frontend
- name: Install dependencies
+2 -2
View File
@@ -27,7 +27,7 @@ COPY package*.json ./
COPY pnpm-lock.yaml ./
# run npm install in our local machine
RUN corepack enable && corepack prepare pnpm@8.6.1 --activate && pnpm i
RUN corepack enable && corepack prepare pnpm@8.14.0 --activate && pnpm i
# copy the generated modules and all other files to the container
COPY . .
@@ -43,7 +43,7 @@ FROM node:19-bullseye-slim
WORKDIR /app
COPY --from=builder /usr/src/app/package.json .
COPY --from=builder /usr/src/app/pnpm-lock.yaml .
RUN corepack enable && corepack prepare pnpm@8.6.1 --activate && pnpm i
RUN corepack enable && corepack prepare pnpm@8.14.0 --activate && pnpm i
# copy files from previous step
COPY --from=builder /usr/src/app/build .
COPY --from=builder /usr/src/app/node_modules ./node_modules