Skip to content

Commit

Permalink
feat: 优化发布脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
liujuping committed Feb 23, 2024
1 parent e0a6d55 commit dce5a8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish beta npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
npm install
npm install --legacy-peer-deps
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
cd packages/${{ github.event.inputs.packagePath }}
npm install --legacy-peer-deps
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
git config --local user.name "GitHub Action"
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm install
npm install --legacy-peer-deps
cd packages/${{ github.event.inputs.packagePath }}
npm install --legacy-peer-deps
npm version ${{ github.event.inputs.versionType }}
Expand Down

0 comments on commit dce5a8c

Please sign in to comment.