add client-api package to automated npm publishing

Syncs version from version.py, builds, and publishes alongside the main
galaxy-client package on releases.
This commit is contained in:
Dannon Baker
2026-01-04 14:07:02 -05:00
parent 1679468b54
commit acb7591609
+10
View File
@@ -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'