不用pnpm

This commit is contained in:
xiangheng
2024-06-28 12:40:15 +08:00
parent 64ad63984b
commit db2171e563

View File

@@ -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