修改yarn命令

This commit is contained in:
whyour 2022-04-03 21:49:20 +08:00
parent 8276a19012
commit d00f2cd33b
2 changed files with 8 additions and 5 deletions

View File

@ -27,9 +27,10 @@ jobs:
- name: build front and back - name: build front and back
run: | run: |
yarn install npm i -g pnpm
yarn build:front pnpm install
yarn build:back pnpm build:front
pnpm build:back
- name: copy to static repo - name: copy to static repo
env: env:

View File

@ -168,8 +168,10 @@ task <file_path> desi <env_name> <account_number>
$ git clone git@github.com:whyour/qinglong.git $ git clone git@github.com:whyour/qinglong.git
$ cd qinglong $ cd qinglong
$ cp .env.example .env $ cp .env.example .env
$ yarn install # 推荐使用 pnpm https://pnpm.io/zh/installation
$ yarn start $ npm install -g pnpm
$ pnpm install
$ pnpm start
``` ```
打开你的浏览器,访问 http://127.0.0.1:5700 打开你的浏览器,访问 http://127.0.0.1:5700