From 09b07c5157fbc5552351b969000f8fc9ae4230ad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 22 Feb 2026 18:32:28 -0700 Subject: [PATCH] fix(ci): use npm pkg delete instead of set to empty string npm pkg set scripts.prepublishOnly="" fails on newer npm versions because the empty value is not recognized as a valid key=value pair. Use npm pkg delete to remove the key entirely instead. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 203275f9..a9cb94b0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -158,7 +158,7 @@ jobs: echo "Publishing version $VERSION" - name: Disable prepublishOnly - run: npm pkg set scripts.prepublishOnly="" + run: npm pkg delete scripts.prepublishOnly - name: Download native artifacts uses: actions/download-artifact@v4