Optimized dev-npm role

This commit is contained in:
2025-07-15 17:46:29 +02:00
parent a8139c2e72
commit 8254bc9f07
3 changed files with 4 additions and 1 deletions

View File

@@ -7,6 +7,6 @@
command: npm ci
args:
chdir: "{{ npm_project_folder }}"
when: npm_project_folder is defined
when: npm_project_folder != ""
register: npm_output
changed_when: "'added' in npm_output.stdout or 'updated' in npm_output.stdout"