mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user