Skip to content

Commit 6b3dcc6

Browse files
authored
Update create-diagram.yml
1 parent 3afde5b commit 6b3dcc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/create-diagram.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
node-version: 18
2626

2727
- name: Install repo-visualizer
28-
run: npm install -g repo-visualizer
28+
run: npm install repo-visualizer
2929

3030
- name: Generate diagram
31-
run: node $(npm root -g)/repo-visualizer/bin/repo-visualizer.js --repo-path . --output diagram.svg --exclude "ignore,.github"
31+
run: node node_modules/repo-visualizer/bin/repo-visualizer.js --repo-path . --output diagram.svg --exclude "ignore,.github"
3232

3333
- name: Commit diagram changes
3434
id: commit_changes

0 commit comments

Comments
 (0)