From c9dfc5e27d05f2410be248f8efde02846c6267d1 Mon Sep 17 00:00:00 2001 From: bntvllnt <32437578+bntvllnt@users.noreply.github.com> Date: Mon, 23 Mar 2026 23:43:02 +0100 Subject: [PATCH] fix(ci): skip preversion scripts in canary/release npm version --- .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 88fb550..aadb342 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -85,7 +85,7 @@ jobs: BASE_VERSION=$(node -p "require('./package.json').version") SHORT_SHA=$(echo "$GITHUB_SHA" | cut -c1-7) CANARY_VERSION="${BASE_VERSION}-canary.${SHORT_SHA}" - npm version "$CANARY_VERSION" --no-git-tag-version + npm version "$CANARY_VERSION" --no-git-tag-version --ignore-scripts npm publish --tag canary --provenance --access public release: @@ -117,7 +117,7 @@ jobs: - name: Bump version id: version run: | - npm version ${{ inputs.bump }} --no-git-tag-version + npm version ${{ inputs.bump }} --no-git-tag-version --ignore-scripts VERSION=$(node -p "require('./package.json').version") echo "version=$VERSION" >> "$GITHUB_OUTPUT"