This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch ci/pnpm
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 7ef18ed39293760b6ddc5676821f344b7b6e8072
Author: LinkinStars <[email protected]>
AuthorDate: Wed Apr 17 19:03:16 2024 +0800

    ci(dockerfile): set fix pnpm version
---
 Dockerfile | 2 +-
 Makefile   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 6278e1a5..bd5f8768 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,7 @@ ARG CGO_EXTRA_CFLAGS
 
 COPY . ${BUILD_DIR}
 WORKDIR ${BUILD_DIR}
-RUN apk --no-cache add build-base git bash nodejs npm && npm install -g 
pnpm@latest \
+RUN apk --no-cache add build-base git bash nodejs npm && npm install -g 
[email protected] \
     && make clean build
 
 RUN chmod 755 answer
diff --git a/Makefile b/Makefile
index 9da39bec..b64987b3 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ clean:
 
 install-ui-packages:
        @corepack enable
-       @corepack prepare pnpm@latest --activate
+       @corepack prepare [email protected] --activate
 
 ui:
        @cd ui && pnpm pre-install && pnpm build && cd -

Reply via email to