ci: 修改部署检证步骤

This commit is contained in:
zhaoyingbo 2024-08-18 18:54:26 +08:00
parent 608220a0ba
commit 3029c196bf

View File

@ -19,13 +19,6 @@ jobs:
- name: Install dependencies
run: npm install
- name: Configure .npmrc
run: |
echo "//git.yingbo.im:333/api/packages/zhaoyingbo/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Stash changes
run: git stash
- name: Bump version and push tag
id: bump_version
run: |
@ -35,4 +28,6 @@ jobs:
git push --follow-tags
- name: Publish package
run: npm publish
run: |
echo "//git.yingbo.im:333/api/packages/zhaoyingbo/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
npm publish