Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ jobs:
with:
node-version: 24.x
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
package-manager-cache: false

- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
Expand All @@ -323,7 +323,10 @@ jobs:
echo "Bumping version for $PKG_NAME..."
cd "packages/$PKG_NAME"
OLD_VERSION=$(node -p "require('./package.json').version")
pnpm version "$BUMP" --no-git-tag-version
# --no-git-checks: skip pnpm's clean-tree check, which would
# otherwise fail on the second iteration once the first bump
# dirties the tree.
pnpm version "$BUMP" --no-git-tag-version --no-git-checks
NEW_VERSION=$(node -p "require('./package.json').version")
echo " $OLD_VERSION -> $NEW_VERSION"

Expand Down
Loading