mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-19 06:45:50 +00:00
ci: 删除冗余 release 工作流
This commit is contained in:
12
.github/workflows/publish-npm.yml
vendored
12
.github/workflows/publish-npm.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user