Skip to content

Commit 975114c

Browse files
committed
fix: 修复 github action 构建失败
Change-Id: I6e50e0229ae5b989078b55ed956083683d81593e
1 parent c6e0eb0 commit 975114c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- uses: actions/setup-node@v3
2525
with:
2626
node-version: 16
27-
- run: pnpm i
27+
cache: 'pnpm'
28+
- run: pnpm i -f
2829
- run: pnpm build:deps
2930
- run: pnpm build:doc
3031
- name: Deploy to GitHub Pages

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: 16
2020
cache: 'pnpm'
21-
- run: pnpm i
21+
- run: pnpm i -f
2222
- run: pnpm build
2323
- run: npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
2424
env:

0 commit comments

Comments
 (0)