修改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
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:

View File

@ -168,8 +168,10 @@ task <file_path> desi <env_name> <account_number>
$ 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