diff --git a/.github/workflows/main-merge.yml b/.github/workflows/main-merge.yml index 27647ca..b18edfc 100644 --- a/.github/workflows/main-merge.yml +++ b/.github/workflows/main-merge.yml @@ -38,9 +38,6 @@ jobs: name: Publish package to npm 🚀 runs-on: ubuntu-latest needs: quality-check - permissions: - contents: read - packages: write steps: - uses: actions/checkout@v4 - name: Install pnpm @@ -56,9 +53,8 @@ jobs: run: pnpm install - name: Run build command run: pnpm build - - name: Publish to npm 🚀 + - id: publish + name: Publish to npm 🚀 uses: JS-DevTools/npm-publish@v3 with: - access: restricted - token: ${{ secrets.GITHUB_TOKEN }} - registry: https://npm.pkg.github.com/ + token: ${{ secrets.NPM_TOKEN }}