From: Ardis Lu Date: Sun, 14 Jun 2026 05:18:14 +0000 (-0700) Subject: Use staged publishing X-Git-Tag: v0.1.11~3 X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=390793f003432dfb17af6237ac77d56f09ba2be4;p=csvio Use staged publishing Reference: https://docs.npmjs.com/staged-publishing/ --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 928c406..c68918f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,6 @@ jobs: node-version-file: ".node-version" registry-url: "https://registry.npmjs.org" package-manager-cache: false - - run: npm install -g npm@latest # npm >=11.5.1 required for trusted publishing + - run: npm install -g npm@latest # npm >=11.15.0 required for staged publishing - run: npm ci - - run: npm publish --provenance --access public + - run: npm stage publish --provenance --access public diff --git a/package.json b/package.json index efec574..89a2b24 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "packageManager": { "name": "npm", - "version": ">=11.6.2" + "version": ">=11.15.0" } }, "files": [