diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0831bf2c..befb8cf1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -5,6 +5,7 @@ on: permissions: contents: read + id-token: write jobs: publish-npm: @@ -24,6 +25,4 @@ jobs: - run: npm run compile - run: npm test - run: echo "Publishing string-offsets" - - run: npm whoami; npm --ignore-scripts publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + - run: npm --ignore-scripts publish --provenance