fix(ci): add registry-url to setup-node for npm OIDC auth
setup-node requires registry-url to configure .npmrc for OIDC authentication
This commit is contained in:
parent
37d4aec4d0
commit
6670754efe
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -77,13 +77,11 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "24"
|
node-version: "24"
|
||||||
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
- name: Upgrade npm for OIDC trusted publishing
|
- name: Upgrade npm for OIDC trusted publishing
|
||||||
run: npm install -g npm@latest
|
run: npm install -g npm@latest
|
||||||
|
|
||||||
- name: Configure npm registry
|
|
||||||
run: npm config set registry https://registry.npmjs.org
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user