diff --git a/.github/workflows/publish_artifacts.yaml b/.github/workflows/publish_artifacts.yaml index 16914c07e3f..ada57d3a4c4 100644 --- a/.github/workflows/publish_artifacts.yaml +++ b/.github/workflows/publish_artifacts.yaml @@ -95,3 +95,13 @@ jobs: if: (github.event_name == 'workflow_dispatch' && inputs.release_type == 'release') || (github.event_name == 'release' && !github.event.release.prerelease) run: npm publish --provenance --access public working-directory: 'client' + - name: sync client-api version + run: npm run sync-version + working-directory: 'client-api' + - name: build client-api + run: npm install && npm run build + working-directory: 'client-api' + - name: publish client-api + if: (github.event_name == 'workflow_dispatch' && inputs.release_type == 'release') || (github.event_name == 'release' && !github.event.release.prerelease) + run: npm publish --provenance --access public + working-directory: 'client-api'