diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a9acd5..1e90e22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,12 +28,10 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Create Release Pull Request - uses: changesets/action@v1 + - name: Publish + id: publish + run: | + npm config set //registry.npmjs.org/:_authToken ${NODE_AUTH_TOKEN} + npm publish --provenance env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - with: - commit: "chore: release packages" - publish: npm publish --provenance - title: "chore: release packages" + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file