Skip to content

Commit dce5a8c

Browse files
committed
feat: 优化发布脚本
1 parent e0a6d55 commit dce5a8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish beta npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
git config --local user.email "action@github.com"
3030
git config --local user.name "GitHub Action"
31-
npm install
31+
npm install --legacy-peer-deps
3232
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
3333
cd packages/${{ github.event.inputs.packagePath }}
3434
npm install --legacy-peer-deps

.github/workflows/publish npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
git config --local user.name "GitHub Action"
3333
3434
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
35-
npm install
35+
npm install --legacy-peer-deps
3636
cd packages/${{ github.event.inputs.packagePath }}
3737
npm install --legacy-peer-deps
3838
npm version ${{ github.event.inputs.versionType }}

0 commit comments

Comments
 (0)