修复pnpm版本

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

View File

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

View File

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

View File

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