Revert "chore: 修复 publish 问题"

This reverts commit 58c3feb56a.
This commit is contained in:
claude-code-best
2026-05-20 10:11:09 +08:00
parent 58c3feb56a
commit 5957e26d9b

View File

@@ -3,11 +3,11 @@ name: Publish to npm
on: on:
push: push:
tags: tags:
- "v*" - 'v*'
workflow_dispatch: workflow_dispatch:
inputs: inputs:
version: version:
description: "版本号 (例如: v1.9.0)" description: '版本号 (例如: v1.9.0)'
required: true required: true
type: string type: string
@@ -38,9 +38,9 @@ jobs:
run: bun test run: bun test
- name: Publish to npm - name: Publish to npm
run: bun publish -p --access public run: bun publish --access public
env: env:
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} BUN_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate changelog - name: Generate changelog
id: changelog id: changelog