diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c716816..c01bba1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,6 +10,7 @@ jobs: permissions: contents: write + id-token: write steps: - uses: actions/checkout@v4 @@ -29,9 +30,7 @@ jobs: node-version: 22 registry-url: https://registry.npmjs.org - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: npm publish --provenance --access public - name: Create GitHub Release env: