From 6016cdb7185d030b8a0667a745e6dab77284982b Mon Sep 17 00:00:00 2001 From: Kevin Thomas Date: Mon, 15 Jun 2026 20:01:33 +0100 Subject: [PATCH] Update publish workflow --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 28b4b86..6098a49 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,9 @@ on: tags: - 'v*' +permissions: + id-token: write + jobs: publish: runs-on: ubuntu-latest @@ -21,6 +24,4 @@ jobs: - run: npm ci - run: npm test - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm publish --provenance --access public