Skip to content

Commit 1f9e53e

Browse files
committed
feat(setup-node): add support for registry-url input
Signed-off-by: Emilien Escalle <[email protected]>
1 parent 01c2471 commit 1f9e53e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

actions/setup-node/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ inputs:
1616
Can be absolute or relative to the repository root.
1717
required: false
1818
default: "."
19+
registry-url:
20+
description: |
21+
Optional registry to set up for auth.
22+
See https://github.com/actions/setup-node?tab=readme-ov-file#usage.
23+
required: false
24+
default: ""
1925

2026
outputs:
2127
run-script-command:
@@ -140,6 +146,7 @@ runs:
140146
node-version-file: ${{ steps.get-node-version-file.outputs.node-version-file }}
141147
cache: ${{ steps.get-package-manager.outputs.cache-dependency-path != '' && steps.get-package-manager.outputs.package-manager || '' }}
142148
cache-dependency-path: ${{ steps.get-package-manager.outputs.cache-dependency-path }}
149+
registry-url: ${{ inputs.registry-url }}
143150

144151
- shell: bash
145152
working-directory: ${{ inputs.working-directory }}

0 commit comments

Comments
 (0)