diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 97b5f51..1ba567c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,13 @@ name: Publish Package to NPM - on: release: types: [created] - jobs: build: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -23,6 +24,4 @@ jobs: - name: Build run: npm run build - name: Publish - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + run: npm publish --access public \ No newline at end of file