Skip to content

Commit 44004e7

Browse files
committed
Fix CI
1 parent 722866d commit 44004e7

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,17 @@ jobs:
113113

114114
- name: Generate (branch)
115115
working-directory: branch
116-
run: npm run test:gen
116+
run: |
117+
# Change following line to just `npm -C cli install` after #214 is merged
118+
[ ! -d cli ] || npm -C cli install
119+
npm run test:gen
117120
118121
- name: Generate (main)
119122
working-directory: main
120-
run: npm run test:gen || true # We don't want to block on main failing to generate
123+
run: |
124+
# Change following line to just `npm -C cli install` after #214 is merged
125+
[ ! -d cli ] || npm -C cli install
126+
npm run test:gen || true # We don't want to block on main failing to generate
121127
122128
- name: Diff the outputs
123129
run: |

0 commit comments

Comments
 (0)