chore: update required pnpm version to >=10 (#60285)

This commit is contained in:
Oliver Eyton-Williams
2025-05-12 15:27:18 +02:00
committed by GitHub
parent 7c4ebb4671
commit 7a424171d2
19 changed files with 136 additions and 157 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ FROM node:20-bookworm AS builder
RUN apt-get update && apt-get install -y jq
# global installs need root permissions, so have to happen before we switch to
# the node user
RUN npm i -g pnpm@9
RUN npm i -g pnpm@10
# node images create a non-root user that we can use
USER node
WORKDIR /home/node/build
@@ -45,7 +45,7 @@ COPY --chown=node:node api/ api/
COPY --chown=node:node shared/ shared/
# TODO: Remove once `@fastify/oauth2` is fixed
COPY --chown=node:node patches/ patches/
RUN npm i -g pnpm@9
RUN npm i -g pnpm@10
# Weirdly this config does not seem necessary for the new api (the same number
# of deps are installed in both cases), but I'm including it just for