Skip to content

Commit 0b277c5

Browse files
committed
chore: 🔧 update workflow
1 parent aaa3ed6 commit 0b277c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,17 @@ jobs:
3030
uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0 # 如果未启用 lastUpdated,则不需要
33-
- uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消此区域注释
33+
- uses: pnpm/action-setup@v3
3434
with:
3535
version: 9
3636
- name: Setup Node
3737
uses: actions/setup-node@v4
3838
with:
3939
node-version: 20
40-
cache: pnpm # 或 pnpm / yarn
40+
registry-url: 'https://registry.npmjs.org'
41+
cache: pnpm
4142
- name: Install dependencies
42-
run: pnpm install # 或 pnpm install / yarn install / bun install
43+
run: pnpm install
4344
- name: Build Package
4445
run: |
4546
pnpm run components:build

0 commit comments

Comments
 (0)