From 609394c6114f26abfb0cdf3cdb4bd7c6eb627b3f Mon Sep 17 00:00:00 2001 From: deflis Date: Mon, 2 Nov 2026 02:23:18 +0900 Subject: [PATCH 1/3] =?UTF-8?q?package.json=E3=81=AE=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=922.1.0=E3=81=AB=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e555f1..714ab8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "narou", - "version": "2.0.1", + "version": "2.1.0", "description": "Narou API Wrapper", "repository": { "type": "git", From 33e7313233f0168bc7a1c7077a97d673a04dfaf2 Mon Sep 17 00:00:00 2001 From: deflis Date: Mon, 2 Nov 2026 02:29:46 +0900 Subject: [PATCH 2/3] =?UTF-8?q?npm=E5=85=AC=E9=96=8B=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=96=E3=81=ABGitHub=20Environment=E3=82=92=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-npm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index c3daaac..9e714ae 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -63,6 +63,7 @@ jobs: publish: needs: build runs-on: ubuntu-latest + environment: npm timeout-minutes: 10 permissions: id-token: write From 33f3a54b69f1cd274eee4b850efe05b3b517e2c5 Mon Sep 17 00:00:00 2001 From: deflis Date: Mon, 2 Nov 2026 02:31:37 +0900 Subject: [PATCH 3/3] =?UTF-8?q?npm=E5=85=AC=E9=96=8B=E3=82=92=E3=82=B9?= =?UTF-8?q?=E3=83=86=E3=83=BC=E3=82=B8=E3=83=B3=E3=82=B0=E3=81=A82FA?= =?UTF-8?q?=E6=89=BF=E8=AA=8D=E3=81=AE=E6=96=B9=E5=BC=8F=E3=81=AB=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-npm.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 9e714ae..5ac92aa 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -1,4 +1,4 @@ -name: Publish Package to npmjs +name: Stage Package for npmjs permissions: contents: read on: @@ -60,7 +60,7 @@ jobs: if-no-files-found: error retention-days: 7 - publish: + stage: needs: build runs-on: ubuntu-latest environment: npm @@ -80,7 +80,11 @@ jobs: package-manager-cache: false registry-url: https://registry.npmjs.org/ - - name: Publish to npm - run: npm publish ./package.tgz --ignore-scripts --provenance --access public --tag "$NPM_DIST_TAG" + # Staged publishing requires npm >=11.15.0. + - name: Install npm + run: npm install --global npm@11.19.1 + + - name: Stage for npm publishing + run: npm stage publish ./package.tgz --ignore-scripts --provenance --access public --tag "$NPM_DIST_TAG" env: NPM_DIST_TAG: ${{ github.event.release.prerelease && 'next' || 'latest' }}