Skip to content

Commit 75a0e14

Browse files
authored
ci: Prevent OpenAPI client build from breaking tests (Sofie-Automation#1631)
1 parent 92b183b commit 75a0e14

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish-libs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,12 @@ jobs:
119119
120120
cd packages
121121
yarn install
122-
yarn build:single ${{ matrix.package-name }}/tsconfig.build.json
122+
123+
if [ "${{ matrix.package-name }}" = "openapi" ]; then
124+
yarn workspace @sofie-automation/openapi run build
125+
else
126+
yarn build:single ${{ matrix.package-name }}/tsconfig.build.json
127+
fi
123128
env:
124129
CI: true
125130
- name: Run tests
@@ -270,4 +275,4 @@ jobs:
270275
echo "**Published:** $NEW_VERSION as $NPM_TAG" >> $GITHUB_STEP_SUMMARY
271276
env:
272277
NPM_CONFIG_PROVENANCE: true
273-
CI: true
278+
CI: true

0 commit comments

Comments
 (0)