diff --git a/pnpm-build/action.yml b/pnpm-build/action.yml index 4d3397e..e5b3501 100644 --- a/pnpm-build/action.yml +++ b/pnpm-build/action.yml @@ -50,6 +50,12 @@ runs: # pnpm/action-setup v4.3.0 — https://code.forgejo.org/pnpm/action-setup/commits/tag/v4.3.0 - name: Install pnpm uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 + env: + # Override any registry configured in .npmrc (e.g. JFrog or Nexus). + # pnpm/action-setup bootstraps itself via npm before pnpm is available, + # so it must reach the public npm registry. Auth for private registries + # is configured in a later step, after pnpm is installed. + NPM_CONFIG_REGISTRY: https://registry.npmjs.org with: version: ${{ inputs.pnpm-version }}