From 9ae88794ca70538ab246243d0a6d7fe74dd13a92 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Wed, 3 Jan 2024 19:04:05 +0100 Subject: [PATCH] Updated pnpm in workflows and Dockerfile --- .github/workflows/frontend_lint.yml | 2 +- frontend/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/frontend_lint.yml b/.github/workflows/frontend_lint.yml index 1576731..933218c 100644 --- a/.github/workflows/frontend_lint.yml +++ b/.github/workflows/frontend_lint.yml @@ -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 diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 9fba268..8f1192b 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -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