From bdc9e18f46247d211540da2aa627079aba698eea Mon Sep 17 00:00:00 2001 From: hofp37 Date: Tue, 30 Dec 2025 12:49:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Publish=20npm=20package=20with?= =?UTF-8?q?=20provenance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #51 REDMINE-100208 --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3e2c26b..18e5afc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,8 @@ jobs: publish: needs: "build" runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout @@ -29,6 +31,6 @@ jobs: run: npm run build - name: Publish to npm - run: npm publish --access public + run: npm publish --access public --provenance env: NODE_AUTH_TOKEN: ${{ secrets.npm_token }}