From 680abcc00820876176d34cd47c3c13a37ad564dd Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 27 Nov 2025 10:17:37 +0800 Subject: [PATCH] chore: remove redundant provenance flag trusted publishing publishes provenance attestations by default https://docs.npmjs.com/trusted-publishers#automatic-provenance-generation --- .github/workflows/npm-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c73f9bf1f..478c16e5c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -37,6 +37,6 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - npx version-from-git --allow-same-version --template 'master.short' + pnpx version-from-git --allow-same-version --template 'master.short' - name: Publish to npmjs - run: pnpm publish --provenance --access public --tag latest + run: pnpm publish --access public --tag latest