mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #21747 from dannon/fix/25.1-npm-trusted-publishing
[25.1] Fix npm trusted publishing in 25.1 release workflow
This commit is contained in:
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: Read Node.js version
|
||||
id: node-version
|
||||
run: echo "version=$(cat client/.node_version)" >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v5
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ steps.node-version.outputs.version }}
|
||||
cache: 'yarn'
|
||||
@@ -47,6 +47,9 @@ jobs:
|
||||
- name: build client
|
||||
run: yarn && yarn build-production
|
||||
working-directory: 'client'
|
||||
# Ensure npm 11.5.1 or later for trusted publishing
|
||||
- run: npm install -g npm@latest
|
||||
working-directory: 'client'
|
||||
- name: publish client
|
||||
if: "!github.event.release.prerelease"
|
||||
run: npm publish --provenance --access public
|
||||
|
||||
Reference in New Issue
Block a user