mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-29 02:26:59 +08:00
Merge branch 'release_26.1' into dev
This commit is contained in:
@@ -82,7 +82,7 @@ jobs:
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
repository-url: ${{ (github.event_name == 'workflow_dispatch' && inputs.release_type == 'prerelease') || (github.event_name == 'release' && github.event.release.prerelease) && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}
|
||||
repository-url: ${{ ((github.event_name == 'workflow_dispatch' && inputs.release_type == 'prerelease') || (github.event_name == 'release' && github.event.release.prerelease)) && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}
|
||||
|
||||
build-and-publish-npm:
|
||||
if: |
|
||||
@@ -109,6 +109,8 @@ jobs:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
package_json_file: client/package.json
|
||||
# TODO(post-26.1): the @galaxyproject/galaxy-client npm publish is now
|
||||
# redundant with the galaxy-web-client PyPI wheel used by
|
||||
# scripts/common_startup.sh and the install-client make target. Keep
|
||||
@@ -118,8 +120,10 @@ jobs:
|
||||
- name: build client
|
||||
run: pnpm install && pnpm build-production
|
||||
working-directory: 'client'
|
||||
# Ensure npm 11.5.1 or later for trusted publishing
|
||||
- run: npm install -g npm@latest
|
||||
# Ensure npm 11.5.1 or later for trusted publishing. Stay on the 11.x
|
||||
# line: npm 12 requires node ^22.22.2, and client/.node_version pins
|
||||
# 22.20.0.
|
||||
- run: npm install -g npm@11
|
||||
working-directory: 'client'
|
||||
- name: publish client
|
||||
if: (github.event_name == 'workflow_dispatch' && inputs.release_type == 'release') || (github.event_name == 'release' && !github.event.release.prerelease)
|
||||
|
||||
Reference in New Issue
Block a user