From 366cd2408b1ab877fa3e85aa53f2a555dcd56c01 Mon Sep 17 00:00:00 2001 From: bntvllnt <32437578+bntvllnt@users.noreply.github.com> Date: Tue, 24 Mar 2026 00:59:10 +0100 Subject: [PATCH] fix(ci): add --ignore-scripts to npm publish (skip prepublishOnly in CI) --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aadb342..0bb1836 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -86,7 +86,7 @@ jobs: SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7) CANARY_VERSION="${BASE_VERSION}-canary.${SHORT_SHA}" npm version "$CANARY_VERSION" --no-git-tag-version --ignore-scripts - npm publish --tag canary --provenance --access public + npm publish --tag canary --provenance --access public --ignore-scripts release: name: Publish Release @@ -174,7 +174,7 @@ jobs: run: | sed -i '/_authToken/d' "$NPM_CONFIG_USERCONFIG" unset NODE_AUTH_TOKEN - npm publish --tag latest --provenance --access public + npm publish --tag latest --provenance --access public --ignore-scripts - name: Create GitHub Release env: