Skip to content

Commit 76afe3f

Browse files
fix: only install npm if setup-node ran (#1469)
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
1 parent 847e0d6 commit 76afe3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
registry-url: "https://registry.npmjs.org"
3737
cache: 'npm'
3838
- name: Update npm (for OIDC auth)
39+
if: ${{ steps.release.outputs.releases_created }}
3940
run: npm install -g npm@^11.5.1
4041
- name: Build Packages
4142
if: ${{ steps.release.outputs.releases_created }}

0 commit comments

Comments
 (0)