From 5d311ab985c0c6db256b9e36414b4e9aba2508b9 Mon Sep 17 00:00:00 2001 From: consistent-k Date: Sun, 7 Jun 2026 23:43:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?style:=20=E4=BF=AE=E5=A4=8D=20release-pleas?= =?UTF-8?q?e.yml=20=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - release-please.yml:移除末尾多余空行,通过 Prettier 检查 Co-Authored-By: Claude Opus 4.7 --- .github/workflows/release-please.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 09e0185..9e879eb 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -19,4 +19,3 @@ jobs: with: config-file: .release-please/config.json manifest-file: .release-please/manifest.json - From 983d2a39e0618ad86bbde01ae5a74796c680486a Mon Sep 17 00:00:00 2001 From: consistent-k Date: Sun, 7 Jun 2026 23:47:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=20publish=20workfl?= =?UTF-8?q?ow=EF=BC=8C=E6=94=B9=E4=B8=BA=E6=9C=AC=E5=9C=B0=E5=8F=91?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - publish.yml:删除 GitHub Actions 发布 workflow,仅保留本地 pnpm publish:all Co-Authored-By: Claude Opus 4.7 --- .github/workflows/publish.yml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index c22a028..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Publish to npm - -on: - release: - types: [published] - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - - uses: pnpm/action-setup@v6 - - - uses: actions/setup-node@v6 - with: - node-version: 22 - cache: pnpm - registry-url: https://registry.npmjs.org - - - run: pnpm install --frozen-lockfile - - - run: pnpm build - - - run: pnpm -r publish --access public --no-git-checks - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}