From a8c32fc4a7f285943c84e9d2186a79c37757cfc4 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Wed, 6 May 2026 17:00:10 -0700 Subject: [PATCH] Add id-token permission and update publish command --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 26e8fd5..780f9e5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,6 +33,7 @@ jobs: permissions: contents: read packages: write + id-token: write steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -46,6 +47,5 @@ jobs: - run: npm version ${TAG_NAME} --git-tag-version=false env: TAG_NAME: ${{ github.event.release.tag_name }} - - run: npm --ignore-scripts publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - run: npm --ignore-scripts publish --provenance --access public +