@@ -32,6 +32,11 @@ jobs:
with:
bun-version: 1.2.16
+ - name: Test npm auth
+ run: npm whoami
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
- run: |
bun install
./script/publish.ts
@@ -484,6 +484,9 @@ func renderArgs(args *map[string]any, titleKey string) string {
title := ""
parts := []string{}
for key, value := range *args {
+ if value == nil {
+ continue
+ }
if key == "filePath" || key == "path" {
value = relative(value.(string))
}