fix(ci): use npm publish for all packages to avoid bun auth issues

This commit is contained in:
synacktra.work@gmail.com
2026-01-01 00:06:26 +05:30
parent 13488bcfb1
commit 3d71c34adb

View File

@@ -104,12 +104,6 @@ jobs:
- name: Publish to npm
if: steps.verify-version.outputs.should_publish == 'true' || steps.check-version.outputs.changed == 'true'
working-directory: ./${{ inputs.package_dir }}
run: |
if [ "${{ inputs.package_manager }}" = "bun" ]; then
bun publish --production --access public --tolerate-republish
else
pnpm publish --access public --no-git-checks
fi
run: npm publish --access public --provenance
env:
NPM_CONFIG_PROVENANCE: true
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}