修复pnpm版本

This commit is contained in:
whyour 2022-05-01 14:15:29 +08:00
parent 22d097aa08
commit caa8bd7e7f
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ jobs:
- name: build front and back
run: |
npm i -g pnpm
npm i -g pnpm@6
pnpm install
pnpm build:front
pnpm build:back

View File

@ -169,7 +169,7 @@ $ git clone git@github.com:whyour/qinglong.git
$ cd qinglong
$ cp .env.example .env
# 推荐使用 pnpm https://pnpm.io/zh/installation
$ npm install -g pnpm
$ npm install -g pnpm@6
$ pnpm install
$ pnpm start
```

View File

@ -38,7 +38,7 @@ RUN set -x \
&& touch ~/.bashrc \
&& git config --global user.email "qinglong@@users.noreply.github.com" \
&& git config --global user.name "qinglong" \
&& npm install -g pnpm \
&& npm install -g pnpm@6 \
&& pnpm install -g pm2 \
&& pnpm install -g ts-node typescript tslib \
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \