chore: update package name references to @timi/web-api
Release / release (pull_request) Successful in 22s
Release / release (pull_request) Successful in 22s
This commit is contained in:
@@ -75,8 +75,8 @@ jobs:
|
||||
- name: Ensure version not published
|
||||
if: ${{ steps.version.outputs.publish == 'true' }}
|
||||
run: |
|
||||
if npm view "timi-web-api@${{ steps.version.outputs.version }}" version > /dev/null 2>&1; then
|
||||
echo "FAIL: timi-web-api@${{ steps.version.outputs.version }} 已存在于 nexus,请提升 package.json 版本"
|
||||
if npm view "@timi/web-api@${{ steps.version.outputs.version }}" version > /dev/null 2>&1; then
|
||||
echo "FAIL: @timi/web-api@${{ steps.version.outputs.version }} 已存在于 nexus,请提升 package.json 版本"
|
||||
exit 1
|
||||
fi
|
||||
echo "OK: 版本未占用"
|
||||
|
||||
Reference in New Issue
Block a user