From c76d952d416ef0a2ea6f2f3b7e52dac80d8616e5 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 3 Apr 2022 21:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9yarn=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_docker_image.yml | 7 ++++--- README.md | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index 05d51d63..afe7e6a4 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -27,9 +27,10 @@ jobs: - name: build front and back run: | - yarn install - yarn build:front - yarn build:back + npm i -g pnpm + pnpm install + pnpm build:front + pnpm build:back - name: copy to static repo env: diff --git a/README.md b/README.md index 7b54c520..27282f86 100644 --- a/README.md +++ b/README.md @@ -168,8 +168,10 @@ task desi $ git clone git@github.com:whyour/qinglong.git $ cd qinglong $ cp .env.example .env -$ yarn install -$ yarn start +# 推荐使用 pnpm https://pnpm.io/zh/installation +$ npm install -g pnpm +$ pnpm install +$ pnpm start ``` 打开你的浏览器,访问 http://127.0.0.1:5700