mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复pnpm版本
This commit is contained in:
parent
22d097aa08
commit
caa8bd7e7f
2
.github/workflows/build_docker_image.yml
vendored
2
.github/workflows/build_docker_image.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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} \
|
||||
|
|
Loading…
Reference in New Issue
Block a user