diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca7dbee..be8ea59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,11 +5,13 @@ on: tags: - 'v*' +permissions: + id-token: write # Required for OIDC + contents: read + jobs: release: runs-on: ubuntu-latest - permissions: - contents: write steps: - uses: actions/checkout@v5 @@ -27,13 +29,4 @@ jobs: run: npm run build:lib - name: Publish to npm - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Create GitHub Release - uses: softprops/action-gh-release@v2 - with: - name: Release ${{ github.ref_name }} - draft: false - prerelease: false + run: npm publish \ No newline at end of file