From 9dc4191ee23a6d2a7f3f4349cc1d25fff8461534 Mon Sep 17 00:00:00 2001 From: Cai Congcong Date: Sat, 28 Feb 2026 11:43:24 +0800 Subject: [PATCH 1/2] fix --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6074bb5..525706c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: "22.x" + registry-url: "https://registry.npmjs.org" - name: Install dependencies run: npm ci - - run: npm publish From 4d8d281c24d2bae959c80f57df2c9e451748c0cc Mon Sep 17 00:00:00 2001 From: Cai Congcong Date: Sat, 28 Feb 2026 11:44:50 +0800 Subject: [PATCH 2/2] fix --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 525706c..2d3435a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,9 @@ on: tags: - "*" +permissions: + id-token: write # Required for OIDC + jobs: publish: runs-on: ubuntu-latest