Skip to content

Commit

Permalink
fix: 修复 github action 构建失败
Browse files Browse the repository at this point in the history
Change-Id: I6e50e0229ae5b989078b55ed956083683d81593e
  • Loading branch information
ivan-94 committed Dec 20, 2023
1 parent c6e0eb0 commit 975114c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: pnpm i
cache: 'pnpm'
- run: pnpm i -f
- run: pnpm build:deps
- run: pnpm build:doc
- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: 16
cache: 'pnpm'
- run: pnpm i
- run: pnpm i -f
- run: pnpm build
- run: npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
env:
Expand Down

0 comments on commit 975114c

Please sign in to comment.