File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -448,18 +448,20 @@ jobs:
448448 echo "🎯 Publishing strategy: $VERSION_TYPE -> $NPM_TAG ($REGISTRY)"
449449
450450 - name : Publish to npm (works with Bun)
451+ env :
452+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
451453 run : |
452454 if [[ "${{ inputs.dry_run }}" == "true" ]]; then
453- echo "🧪 Dry run mode - checking package only"
455+ echo "Dry run mode - checking package only"
454456 npm publish --dry-run --access public --tag ${{ steps.strategy.outputs.npm_tag }}
455457 else
456- echo "🚀 Publishing @terraphim/autocomplete to npm (Bun-compatible)"
458+ echo "Publishing @terraphim/autocomplete to npm (Bun-compatible)"
457459 echo "Tag: ${{ steps.strategy.outputs.npm_tag }}"
458460
459- # Publish with appropriate tag
461+ # Publish with appropriate tag (GITHUB_TOKEN needed for napi prepublish)
460462 npm publish --access public --tag ${{ steps.strategy.outputs.npm_tag }}
461463
462- echo "✅ Package published successfully! (Bun users can install with: bun add @terraphim/autocomplete)"
464+ echo "Package published successfully! (Bun users can install with: bun add @terraphim/autocomplete)"
463465 fi
464466
465467 - name : Verify package for Bun users
You can’t perform that action at this time.
0 commit comments