pin to pnpm 6 for now (#1147)

This commit is contained in:
pngwn 2022-05-02 12:27:26 +01:00 committed by GitHub
parent 1032313988
commit 87dcdd7134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ jobs:
- run:
name: Build frontend
command: |
npm i pnpm -g
npm i pnpm@6 -g
cd ui
pnpm i --frozen-lockfile
pnpm build

View File

@ -11,7 +11,7 @@ WORKDIR /gradio
COPY ./ui ./ui
RUN mkdir gradio
COPY ./gradio/version.txt ./gradio/version.txt
RUN npm i pnpm -g
RUN npm i pnpm@6 -g
WORKDIR /gradio/ui
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN pnpm i