From cbca2dc055702827e647e2a9fac0413ebe2309e0 Mon Sep 17 00:00:00 2001 From: Thomas De Meyer Date: Thu, 10 Apr 2025 14:37:04 +0200 Subject: [PATCH] feat: add registry url --- pnpm-install/action.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pnpm-install/action.yaml b/pnpm-install/action.yaml index a19ed63..f9d863b 100644 --- a/pnpm-install/action.yaml +++ b/pnpm-install/action.yaml @@ -8,6 +8,9 @@ inputs: pnpm-version: description: "pnpm version (optional)" required: false + registry-url: + description: "Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN. (optional)" + required: false runs: using: "composite" @@ -16,6 +19,7 @@ runs: uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} + registry-url: ${{ inputs.registry-url }} - uses: pnpm/action-setup@v4 name: Install pnpm