Skip to content

Commit 5a6820a

Browse files
committed
add DEVELOPER_DIR to avoid error in brew install danger-js
1 parent 4315835 commit 5a6820a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
4444
- name: Install danger-js
4545
run: brew install danger/tap/danger-js
46+
env:
47+
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer # Avoid Homebrew installation error
4648

4749
- run: swift test
4850

@@ -82,6 +84,8 @@ jobs:
8284
8385
- name: Install danger-js
8486
run: brew install danger/tap/danger-js
87+
env:
88+
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer # Avoid Homebrew installation error
8589

8690
- run: make install
8791

@@ -162,6 +166,8 @@ jobs:
162166
163167
- name: Install danger-js
164168
run: brew install danger/tap/danger-js
169+
env:
170+
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer # Avoid Homebrew installation error
165171

166172
- run: make install
167173

0 commit comments

Comments
 (0)