ci: 删除冗余 release 工作流

This commit is contained in:
claude-code-best
2026-04-23 22:45:53 +08:00
parent 0572d5591b
commit 090e3515ae
2 changed files with 1 additions and 59 deletions

View File

@@ -39,17 +39,7 @@ jobs:
run: bun test
- name: Publish to npm
run: |
VERSION="${GITHUB_REF_NAME#v}"
TAG="latest"
if [[ "$VERSION" == *"beta"* ]]; then
TAG="beta"
elif [[ "$VERSION" == *"alpha"* ]]; then
TAG="alpha"
elif [[ "$VERSION" == *"rc"* ]]; then
TAG="rc"
fi
npm publish --tag "$TAG" --access public
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}