Skip to content

Commit 716e134

Browse files
committed
ci(custom): 修复
1 parent 767b1ba commit 716e134

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,17 @@ jobs:
2222
uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
25-
uses: pnpm/action-setup@v2
26-
with:
27-
version: 6.32.9
2825
- name: Setup Node.js
2926
uses: actions/setup-node@v4
3027
with:
3128
node-version: '20'
32-
cache: 'pnpm'
3329
- name: Cache dependencies
3430
uses: actions/cache@v4
3531
- name: Install dependencies
36-
run: pnpm install
32+
run: npm install
3733

3834
- name: Run Build Script
39-
run: pnpm run build
35+
run: npm run build
4036

4137
- name: Deploy to GitHub Pages
4238
# 此actions的官方文档 https://github.com/JamesIves/github-pages-deploy-action

0 commit comments

Comments
 (0)