From 86b6e2a8cf52700e211f5eb8b2fedfc5b355e26a Mon Sep 17 00:00:00 2001 From: qianzhicheng Date: Tue, 31 Mar 2026 17:19:39 +0800 Subject: [PATCH 1/2] feat: add npm publish job to release workflow Change-Id: Ibfae2af6bd2aabf09936c96d21964af98b77c127 Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94d6b56a3..1a971b5af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,3 +33,19 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + publish-npm: + needs: goreleaser + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + with: + node-version: '20' + registry-url: 'https://registry.npmjs.org' + + - name: Publish to npm + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --access public From 46d4ab52befa33344ecf470ce2bfa1346ab3c07c Mon Sep 17 00:00:00 2001 From: qianzhicheng Date: Tue, 31 Mar 2026 18:48:44 +0800 Subject: [PATCH 2/2] feat: bump package version to 1.0.1 Change-Id: Ifb58789be5621ab4979b5fe60e0e30042e07fea8 Co-Authored-By: Claude Opus 4.6 (1M context) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 13e681495..237ce7272 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@larksuite/cli", - "version": "1.0.0", + "version": "1.0.1", "description": "The official CLI for Lark/Feishu open platform", "bin": { "lark-cli": "scripts/run.js"