Skip to content

Commit ffe5cf9

Browse files
authored
Adding registry-url to support private packages
This supports the use of NODE_AUTH_TOKEN for installing private dependencies. See https://github.com/actions/setup-node/blob/08f58d1471bff7f3a07d167b4ad7df25d5fcfcb6/action.yml#L17-L18 and https://docs.google.com/document/d/1e_urSFLFwVm9QQRtZxXIYhxU5AvsBol44rn4fcbAAKs/edit?disco=AAABm0zCGzI discusson
1 parent 726c8e1 commit ffe5cf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.oidc-github.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/setup-node@v4
2121
with:
2222
node-version: '20'
23+
registry-url: https://registry.npmjs.org
2324

2425
- name: Install npm from npm/oidc branch
2526
run: curl -fsSL https://raw.githubusercontent.com/npm/cli/refs/heads/oidc-install/install.sh | bash

0 commit comments

Comments
 (0)