diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bd2638a..1afc86c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,9 @@ name: Build and Publish plugin on: release: types: [published] +permissions: + id-token: write + contents: read jobs: build: runs-on: ubuntu-latest @@ -17,5 +20,3 @@ jobs: run: npm ci - name: Publish on NPM 📦 run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}