Skip to content

Commit

Permalink
ci: set the pnpm version number explicitly (#1357)
Browse files Browse the repository at this point in the history
* ci: set the pnpm version number explicitly

pnpm latest version is now v10. We still use v9, and the latest version of pnpm was used in
Dockerfile instead of v9.

* ci: add missing pnpm v9
  • Loading branch information
gauthier-th authored Feb 14, 2025
1 parent b29959b commit 98a5b05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN \
;; \
esac

RUN npm install --global pnpm
RUN npm install --global pnpm@9

COPY package.json pnpm-lock.yaml postinstall-win.js ./
RUN CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile
Expand Down Expand Up @@ -45,7 +45,7 @@ WORKDIR /app

RUN apk add --no-cache tzdata tini && rm -rf /tmp/*

RUN npm install -g pnpm
RUN npm install -g pnpm@9

# copy from build image
COPY --from=BUILD_IMAGE /app ./
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:22-alpine
COPY . /app
WORKDIR /app

Run npm install --global pnpm
RUN npm install --global pnpm@9

RUN pnpm install

Expand Down

0 comments on commit 98a5b05

Please sign in to comment.