From f9d99e3aca6dc010ca3fa6a7cfac8f4e4a2c7417 Mon Sep 17 00:00:00 2001 From: hyperpolymath <6759885+hyperpolymath@users.noreply.github.com> Date: Thu, 25 Jun 2026 10:10:43 +0100 Subject: [PATCH] feat(ci): package-registry provenance --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 76f5248..3c42e4f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,9 @@ jobs: publish-npm: runs-on: ubuntu-latest timeout-minutes: 15 + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v4 @@ -32,6 +35,6 @@ jobs: run: npm run build - name: Publish to npm - run: npm publish --access public + run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}