Skip to content

Commit

Permalink
cd: 还是不使用 pnpm 了,npm 方便
Browse files Browse the repository at this point in the history
  • Loading branch information
Linhieng committed Apr 14, 2024
1 parent 5a21728 commit 1b50f52
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # 启用 lastUpdated 需要开启这项
- uses: pnpm/action-setup@v3 # 使用 pnpm
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm # 使用 pnpm
cache: npm
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: pnpm install # 不使用 ci,因为我没有上传 lock 文件
run: npm install # 不使用 ci,因为我没有上传 lock 文件
- name: Build with VitePress
run: npm run docs:build -- --base /note/
- name: Upload artifact
Expand Down

0 comments on commit 1b50f52

Please sign in to comment.