From acb75916097bb17443d3859265320fb94f95a84d Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Sun, 4 Jan 2026 14:06:33 -0500 Subject: [PATCH] add client-api package to automated npm publishing Syncs version from version.py, builds, and publishes alongside the main galaxy-client package on releases. --- .github/workflows/publish_artifacts.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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'