mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-12 03:10:48 +08:00
修复pnpm版本
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
+1
-1
@@ -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} \
|
||||||
|
|||||||
Reference in New Issue
Block a user