Skip to content

Commit 09ed6d9

Browse files
committed
Update npm in publish-npm.yml only when node is setup
1 parent 87ca869 commit 09ed6d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
registry-url: 'https://registry.npmjs.org'
4848

4949
- name: Install npm version ^11.5.1 # npm trusted publishing requires version ^11.5.1
50+
if: steps.version_check.outputs.changed == 'true'
5051
run: npm install -g npm@^11.5.1
5152

5253
- name: Install dependencies

0 commit comments

Comments
 (0)