mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-09 17:28:58 +00:00
fix(ci): restore registry-url for npm OIDC trusted publishing
Without registry-url, npm CLI cannot initiate the OIDC authentication flow against the npm registry, causing ENEEDAUTH errors.
This commit is contained in:
parent
525fb7806a
commit
6d952b6180
1 changed files with 1 additions and 0 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -77,6 +77,7 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Inject version from tag
|
||||
run: jq --arg v "${GITHUB_REF_NAME#v}" '.version = $v' package.json > package.json.tmp && mv package.json.tmp package.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue