Skip to content

Commit 32ddc03

Browse files
committed
fix: conventional-recommended-bump in release workflow
1 parent f5aa239 commit 32ddc03

File tree

3 files changed

+762
-7
lines changed

3 files changed

+762
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ jobs:
194194
with:
195195
node-version: '24.x'
196196

197+
- run: npm ci
198+
197199
- name: Configure Git
198200
run: |
199201
git config user.name "cloudinary-bot"
@@ -215,9 +217,7 @@ jobs:
215217
216218
echo "::group::Calculating next version"
217219
218-
npm install -g conventional-recommended-bump conventional-changelog-cli
219-
220-
BUMP_TYPE=$(conventional-recommended-bump -p angular 2>/dev/null || echo "")
220+
BUMP_TYPE=$(npx conventional-recommended-bump -p angular 2>/dev/null || echo "")
221221
222222
if [[ -z "$BUMP_TYPE" || "$BUMP_TYPE" == "null" ]]; then
223223
echo "::notice::No conventional commits found; skipping release PR creation"

0 commit comments

Comments
 (0)