From 81b5715ef3149cebb45644b3da2fe0f0347695cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8E=A8=E7=A5=9E?= Date: Thu, 20 Aug 2026 11:36:50 +0800 Subject: [PATCH] chore: update release support oidc publish --- .github/workflows/release.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ad9d493f..1c150e000 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,11 @@ name: release on: push: tags: - - "*" + - '*.*.*' permissions: contents: write + id-token: write jobs: release: @@ -15,6 +16,18 @@ jobs: - name: โคต๏ธ Checkout uses: actions/checkout@v4 + - name: ๐ŸŽ‰ Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 24 + registry-url: 'https://registry.npmjs.org' + + - name: ๐Ÿ“ฆ Install dependencies + run: npm ci + + - name: ๐Ÿš€ Publish to npm + run: npm publish --access public + - name: ๐Ÿ“ฆ Package skills run: zip -r ../skills.zip . working-directory: skills