Merge pull request 'v1.0.0' (#2) from dev into master

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
2026-11-23 12:34:52 +00:00
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ jobs:
- name: Ensure version not published
if: ${{ steps.version.outputs.publish == 'true' }}
run: |
if npm view "timi-ts@${{ steps.version.outputs.version }}" version > /dev/null 2>&1; then
echo "FAIL: timi-ts@${{ steps.version.outputs.version }} 已存在于 nexus,请提升 package.json 版本"
if npm view "@timi/ts@${{ steps.version.outputs.version }}" version > /dev/null 2>&1; then
echo "FAIL: @timi/ts@${{ steps.version.outputs.version }} 已存在于 nexus,请提升 package.json 版本"
exit 1
fi
echo "OK: 版本未占用"