mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-12-24 08:12:55 +08:00
不用pnpm
This commit is contained in:
10
.github/workflows/deploy_docs.yml
vendored
10
.github/workflows/deploy_docs.yml
vendored
@@ -32,17 +32,17 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
# - uses: pnpm/action-setup@v4
|
||||
# with:
|
||||
# version: 9
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: pnpm # 或 pnpm / yarn
|
||||
cache: npm # 或 pnpm / yarn
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
run: npm install
|
||||
working-directory: docs
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
Reference in New Issue
Block a user