Skip to content

Commit

Permalink
Updated pnpm in workflows and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mawoka-myblock committed Jan 3, 2024
1 parent 936ae56 commit 9ae8879
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/frontend_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- uses: pnpm/[email protected]
with:
version: 7.9.3
version: 8.14.0
working-directory: ./frontend

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand All @@ -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
Expand Down

0 comments on commit 9ae8879

Please sign in to comment.